Öffnen

From FreeCAD Documentation
This page is a translated version of the page Std Open and the translation is 80% 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.

Skripten

See also: FreeCAD Scripting Basics.

Zum Öffnen eines Dokuments wird die Methode open(filepath) oder die Methode openDocument(filepath, [hidden=False]) der Anwendung FreeCAD verwendet.

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.