Std Open/it: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 46: Line 46:




<div class="mw-translate-fuzzy">
{{Docnav/it
{{Docnav/it
|[[Std_New/it|Nuovo]]
|[[Std_New/it|Nuovo]]
|[[Std_Close/it|Chiudi]]
|[[Std_CloseActiveWindow/it|Chiudi]]
|[[Std_File_Menu/it|Menu File]]
|[[Std_File_Menu/it|Menu File]]
|IconL=Std_New.svg
|IconL=Std_New.svg
|IconR=
|IconR=Std_CloseActiveWindow.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}
</div>


{{Std Base navi{{#translation:}}}}
{{Std Base navi{{#translation:}}}}

Revision as of 23:25, 31 October 2022

Apri

Posizione nel menu
File → Apri
Ambiente
Tutti
Avvio veloce
Ctrl+O
Introdotto nella versione
-
Vedere anche
Nuovo, Importa

Descrizione

Il comando Apri apre un file. Se il file non è un file FreeCAD nativo (*.FCStd) la sua geometria viene importata in un nuovo documento. Per ulteriori informazioni vedere Importa.

Utilizzo

  1. Esistono diversi modi per invocare il comando:
    • Premere il pulsante Apri.
    • Selezionare l'opzione File → Apri... dal menu.
    • Usare la scorciatoia da tastiera: Ctrl+O.
  2. Facoltativamente, selezionare il formato file corretto nella finestra di dialogo.
  3. Selezionare un file.
  4. Premere il pulsante Apri.

Opzioni

  • Premere il tasto Esc o il pulsante Annulla per annullare il comando.

Preferenze

  • L'ultima posizione del file utilizzato viene memorizzata in: Strumenti → Modifica parametri... → BaseApp → Preferences → General → FileOpenSavePath.

Script

Vedere anche: Script di base per FreeCAD

Per chiudere un documento usare il metodo open dell'applicazione FreeCAD. Per un esempio di scripting vedere Std Nuovo.

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.