Description
This method returns a specific entity's attribute.
Syntax
Attribute = GetAttribute( Type, Name );
|
Input: (AttributeEnumType) Type |
Type of attribute to be retrieved. |
|
Input: (String) Name |
Name of attribute to be retrieved. |
|
Return: (IAttribute) Attribute |
Retrieved attribute. |
Note
To get attributes of types cmAttColor, cmAttStyle and cmAttWidth, set the Name argument with an empty string. This is caused by these types of attributes being only one per entity.