Remove [model manager]

Removes a model from a library.

UI Access

Tools > Edit Configured Libraries > Models > Remove Model button

Parameters
Name Type Description

<ModelName>

String

Specifies the composite name of the model to remove

<IsProjectModel> Boolean True if it is a project model
<LibraryName> String Name of the library if it is not a project model
<LibraryLocation> String Location of the library in <LibraryName>; one of "Project", "PersonalLib", or "UserLib"
Return Value None

 

Python Syntax Remove (<ModelName>, <IsLocal>, <LibraryName>, <LibraryLocation>)
Python Example

oSimModelManager = oDefinitionManager.GetManager("SimModel")

oSimModelManager.Remove("simmodel", True, "", "Project")