Std Open/de: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
No edit summary
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/de
{{Docnav/de
|[[Std_New/de|Neu]]
|[[Std_New/de|Neu]]
|[[Std_CloseActiveWindow/de|Schließen]]
|[[Std_RecentFiles/de|LetzteDateien]]
|[[Std_File_Menu/de|Std Menü Datei]]
|[[Std_File_Menu/de|Std Menü Datei]]
|IconL=Std_New.svg
|IconL=Std_New.svg
|IconR=Std_CloseActiveWindow.svg
|IconR=
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}
</div>


{{GuiCommand/de
{{GuiCommand/de

Revision as of 14:52, 23 April 2024

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.

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.