DIAdem Help

Collection: ModelEntities

  • Updated2024-09-12
  • 2 minute(s) read

Collection: ModelEntities

Collection of the entities of the data model.

The following example displays for each entity of the data model associated with the ASAM Browse Settings Example data store the name, the super type, and the subtype:

VBScriptPython

 

Dim oMyDataStore, oMyModel, Entity
Set oMyDataStore = NAVIGATOR.ConnectDataStore("ASAM Browse Settings Example")
Set oMyModel = oMyDataStore.Model
For Each Entity in oMyModel.Entities
  Call MsgBoxDisp("Entity: " & Entity.Name)
  If Not Entity.SubTypes Is Nothing Then
    Call MsgBoxDisp("Entity Subtype: " & Entity.SubTypes(1).Name)
  End If
  If Not Entity.SuperType Is Nothing Then
    Call MsgBoxDisp("Entity Supertype: " & Entity.SuperType.Name)
  End If 
Next

Properties

Count

Methods

Exists | Item