Std Open/pl

Opis
Polecenie Std: Otwórz otwiera plik. Jeśli plik nie jest natywnym plikiem FreeCAD (*.FCStd), jego geometria zostanie zaimportowana do nowego dokumentu. Zobacz stronę Std: Importuj, aby uzyskać więcej informacji.

Użycie

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) * Use the keyboard shortcut: +.
 * 5) Optionally select the correct file format in the dialog box.
 * 6) Select a file.
 * 7) Press the  button.

Options

 * Press or the  button to abort the command.

Preferences

 * The last used file location is stored:.

Scripting
FreeCAD Scripting Basics.

To open a document use the method or the  method of the FreeCAD application.

These methods create and return a document and load a project file into it. The argument must be a string pointing 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. If is used, the document won't be displayed in the GUI and no tab will appear for it. This allows performing automatic operations on a document and closing it without disrupting the user interface.

For a scripting example see Std New.