Customization > Automation Interface > Functions > Functions for Properties > Property function (automation interface)
Property function (automation interface)
We recommend that you do not use this function for returning the value of an object attribute.
Syntax: Property("<attribute>")
Where:
<attribute> is a string that specifies the name of the object attribute that is being read or set. Identifying attributes.
Property returns a property's value in a string. The objects and properties available depend upon how you have adapted the Visual Basic Interface to Modeler. A property can be either an attribute of an object or an associated object.
If no argument is given the default property of the object is returned. Unless otherwise stated in the object's description, this property is Name.
* 
You can use an association name instead of an attribute name to return the default attribute (typically the Name) of the first object that is associated through the chosen association.
Examples
To display the Description of Class1:
Set objItem = Dictionary.Item("Class", "Class1")
strMessage = objItem.Property("Description")
Call Msgbox(strMessage)
To display the Name of Class1:
Set objItem = Dictionary.Item("Class", "Class1")
strMessage = objItem.Property
Call Msgbox(strMessage)
To change the Name of Class1 to Sports Car:
Set objItem = Dictionary.Item("Class", "Class1")
objItem.Property("Name") = "Sports Car"