Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

  • Read-only property

...

Code Block
languagevb
Public Property _Item( _
   ByVal Identifier As Variant _
) As SubModel

Parameters

...

Count() As Long

Example

Code Block
languagevb
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



Info
titleSee Also