Customization > Automation Interface > Functions > For Modeler Items > Functions for Properties > PropertySet function (automation interface)
  
PropertySet function (automation interface)
We recommend that you do not use this function for setting the value of an object attribute. For more information, click here Setting and Reading Properties.
Syntax:
PropertySet ("<attribute>", 0, "<value>")
Where:
<attribute> is a string that specifies the name of the attribute that is being set. For more information, see Identifying attributes
<value> is a string that specifies the value that is being set for the object attribute.
PropertySet updates a property's value. A property can be either an attribute of an object or an associated object.
Examples
To change the Name of Class1 to Sports Car:
Set objItem = Dictionary.Item("Class", "Class1")
Call objItem.PropertySet("Name", 0, "Sports Car")