Accessing the Metaclass of an Object by Script

You can use script to access object metaclasses.

You can access the MetaClass of an object using scripts:

Use the following

Description

MetaClass As BaseObject

Property. Provides access to the Metaclass of each object

You can access the MetaClass of an object using its public name from the MetaModel using scripts:

Use the following

Description

GetMetaClassByPublicName (ByVal name As String) As BaseObject

Method. Provides access to the MetaClass of an object using its public name

You can access the MetaAttribute and MetaCollection of a MetaClass using its public name (from the MetaClass):

Use the following

Description

GetMetaMemberByPublicName (ByVal name As String) As BaseObject

Method. Provides access to a MetaAttribute or a MetaCollection using its public name