save_project#
- Q2d.save_project(file_name: str | Path | None = None, overwrite=True, refresh_ids=False)#
Save the project and add a message.
- Parameters:
- file_name
str
orpathlib.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
True
when successful,False
when failed.
References
>>> oProject.Save >>> oProject.SaveAs