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