The setting of a definition property value requires the name of the property as the first argument and the value to set as the second. The property names are found in the saprops.cfg and usrprops.txt files.
Often the real name of a property is not the same as what shows up on a definition dialog; for example, in a Service Time Profile, the Time Units property is actually a rename; the real property is Duration Time Units. You would only know this if you looked up the definition of a Service Time Profile in saprops.cfg and saw that the property is actually called Duration Time Unit but has been “labeled” Time Units:
PROPERTY "Duration Time Units" { EDIT Text LISTONLY List "Time Units" LABEL "Time Units" DEFAULT "Hour" LENGTH 20 READONLY }
Syntax
Definition Object.SetProperty Name, value
Parameters
Definition Object
Use: Required
Data type: Object
Any instantiated Definition class
Name
Use: Required
Data type: String
The Name of the property as seen in the saprops.cfg