save_project#
- Mechanical.save_project(file_name=None, overwrite=True, refresh_ids=False)#
Save the project and add a message.
- Parameters:
- file_name
strorpathlib.Path,optional Full path and project name. The default is
``None.- overwritebool,
optional Whether to overwrite the existing project. The default is
True.- refresh_idsbool,
optional Whether to refresh object IDs after saving the project. The default is
False.
- file_name
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oProject.Save >>> oProject.SaveAs