Sets the use fill class attributes flag of the component at index in the Double Line Preferences.
FUNCTION SetDLComponentUseFillClassAttr(
index : INTEGER;
useClassAttr : BOOLEAN): BOOLEAN;def vs.SetDLComponentUseFillClassAttr(index, useClassAttr):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| useClassAttr | BOOLEAN | Whether or not the component will use class attributes for its fill. |
CJG 3-23-07
resultOK := SetDLComponentUseFillClassAttr(1, TRUE);import vs
# Sets the use fill class attributes flag of the component at index in the
# Double Line Preferences.
index = 1
useClassAttr = True
ok = vs.SetDLComponentUseFillClassAttr(index, useClassAttr)
if ok:
vs.Message('SetDLComponentUseFillClassAttr succeeded')
else:
vs.Message('SetDLComponentUseFillClassAttr failed')VS Functions: GetDLComponentUseFillClassAttr
Availability: from VectorWorks13.0