Öffnen

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Std Open and the translation is 71% complete.

Std Öffnen

Menüeintrag
Datei → Öffnen...
Arbeitsbereich
Alle
Standardtastenkürzel
Strg+O
Eingeführt in Version
-
Siehe auch
Std Import, Std Neu

Beschreibung

Der Befehl Std Öffnen öffnet eine Datei. Wenn die Datei keine native FreeCAD-Datei (*.FCStd) ist, wird die enthaltene Geometrie in ein neues Dokument importiert. Siehe Std Import für weitere Informationen.

Anwendung

  1. Es gibt mehrere Möglichkeiten das Werkzeug aufzurufen:
    • Die Schaltfläche Öffnen... drücken.
    • Den Menüeintrag Datei → Öffnen... auswählen.
    • Das Tastaturkürzel Ctrl+O.
  2. Optional kann das richtige Dateiformat im Dialogfeld ausgewählt werden.
  3. Eine Datei auswählen.
  4. Die Schaltfläche Öffnen drücken.

Optionen

  • Esc oder Schaltfläche Cancel drücken, um den Befehl abzubrechen.

Einstellungen

  • The last used file location is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath.

Skripten

See also: FreeCAD Scripting Basics.

To open a document use the open(filepath) method or the openDocument(filepath, [hidden=False]) method of the FreeCAD application.

These methods create and return a document and load a project file into it. The filepath 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 hidden=True 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.