Repository.Model.GetAllModels
Jump to navigation
Jump to search
Member of: SynthesisAPI10Repository
Gets a list of all existing local models in the current project (does not include global models). Returns a cModel object array that contains the model names, ID numbers and other information.
Syntax
object.Model.GetAllModels()
where object is a variable that represents a Repository object.
Example
VBA|VB.NET
Dim MyRepository As New Repository ...'Add code to connect to a Synthesis repository. ...'Then set one of the projects in the repository as the current (active) project.
Dim ListofModels() As cModel ListofModels = MyRepository.Model.GetAllModels()