Description

Returns a SubModel object as specified by the given name or ID. PARAMETERS: Identifier (String or Integer).

Property Type

  • Read-only property

Syntax

Public Property Item( _
   ByVal Identifier As Variant _
) As SubModel

Parameters

  • Identifier

Example

Dim MyModel As Model
Dim MySubModel As SubModel
Dim ModelName As String
Dim SubModelName As String

ModelName = "Physical"
SubModelName = "Sales"

Set MyModel = MyDiagram.Models.Item(ModelName)
Set MySubModel = MyModel.SubModels.Item(SubModelName)