CloseProjectNoForce

Use: Close a named project currently open in the Desktop, unless a simulation is running. Changes to the project will not be saved. Save the project using the Project command Save or Save As before closing to save changes. To determine if the project has been closed, use GetProjectList and see if the named project is present.

UI Access File > Close
Parameters
Name Type Description
<ProjectName> String The name of the project already on the Desktop that is to be closed, without path or extension
Return Value None

 

Python Syntax CloseProjectNoForce (<ProjectName>)
Python Example

oDesktop.CloseProjectNoForce("MyProject")