Description
Returns a SubModel object as specified by the given name or ID. PARAMETERS: Identifier (String or Integer)Number of SubModel objects in the collection. DATATYPE: Integer.
Property Type
...
Code Block |
---|
|
Public Property _Item( _
ByVal Identifier As Variant _
) As SubModel |
Parameters
...
Example
Code Block |
---|
|
Dim MyDiagram As Diagram
Dim MyModel As Model
Dim ModelName As String
Dim iCount As Long
ModelName = "Physical"
Set MyDiagram = DiagramManager.ActiveDiagram
Set MyModel = MyDiagram.Models.Item(ModelName)
MyModel.SubModels.Count = iCount |