Repository.Model.DeleteModel

Deletes an unused model from the Synthesis repository. Throws an exception if the model is in use. Returns a Boolean value; when true, indicates that the model no longer exists.

Syntax
object.Model.DeleteModel(ID)

where object is a variable that represents a Repository object.

Example
This example assumes that an unused model with ID#71 exists in a repository. VBA|VB.NET MyRepository Repository MyRepository.Project.SetCurrentProject (1) MyRepository.Model.DeleteModel(71)