CLOSE_ALL closes all currently opened model in the modeleditor.
CC "Modeling" CLOSE_ALL [ quiet [ save ] ].
# --> RESULT ecode:intValue
|ecode||intValue, the return variable ecode is set to 0 if closing worked, to 1 if an error occured.|
When passing the argument quiet, the user will not be asked for models with unsaved changes if he wants to save them. The models will be closed and the changes discarded. For models that have been newly created without adding any objects and saving, the user will also not be asked if he wants to delete the model again, the model will just be closed, not deleted. If additional passing the argument save the model will also be saved.
Closing the own model window is impossible when running in a PROGRAMCALL script which has been called by the user via the notebook or via the drawing area.
CC "Modeling" CLOSE_ALL
Closes all currently opened models.