GetNames [model manager]

Returns the names of the models (used and unused) in a design. The following script command, IsUsed, can then be used to separate used and unused models.

UI Access N/A
Parameters None
Return Value An array of strings

 

Python Syntax GetNames()
Python Example

oDefinitionManager = oProject.GetDefinitionManager()

oModelManager = oDefinitionManager.GetManager("Model")

modelnames = oModelManager.GetNames()