Translations:FreeCAD API/17/en

From FreeCAD Documentation
Revision as of 18:18, 11 November 2014 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
openDocument(filepath)

Description: Creates and returns a document and load a project file into the document. The string argument must point to an existing file. If the file doesn't exist or the file cannot be loaded an I/O exception is thrown. In this case the created document is kept, but will be empty.

Returns: The opened FreeCAD Document.