Extending product function with VBA > The System Architect object model > Object model classes > Diagram class > Diagram class: Methods > GetProperty
  
GetProperty
This returns the property content for any given diagram property.
Parameters
Often the real name of a property is not the same as what shows up on a definition dialog; for example, in an Elementary Business Process of a Process Chart diagram, the Locations property is actually a rename: the real property is Location Types. You would only know this if you looked up the definition of an Elementary Business Process in saprops.cfg and saw that the property is actually called Location Types but has been labeled Locations:
Property "Location Types" { Edit Listof "Location" Label "Locations" LENGTH 2000 HELP "Supporting Location Types (Matrix)" READONLY }
Syntax
Diagram Object.GetProperty Name
Parameter
Diagram Object
Use: Required
Data type: Object
Any instantiated Diagram class
Name
Use: Required
Data type: String
The Name of the property as seen in the saprops.cfg
See also
Diagram class: Methods