Gets the class of the component at index in the Double Line Preferences.
FUNCTION GetDLComponentClass(
index : INTEGER;
VAR componentClass : LONGINT): BOOLEAN;def vs.GetDLComponentClass(index):
return (BOOLEAN, componentClass)| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| componentClass | LONGINT | Returns the class of the component. |
CJG 3-23-07
resultOK := GetDLComponentClass(1, 2);import vs
# Gets the class of the component at index in the Double Line Preferences.
index = 1
ok, componentClass = vs.GetDLComponentClass(index)
vs.Message('GetDLComponentClass returned: ' + str((ok, componentClass)))VS Functions: SetDLComponentClass
Availability: from VectorWorks13.0