Sets the use class attributes flags of the pens of a component in an object.
FUNCTION SetComponentUsePenClassAttr(
obj : HANDLE;
componentIndex : INTEGER;
useLeftPenClassAttributes : BOOLEAN;
useRightPenClassAttributes : BOOLEAN): BOOLEAN;def vs.SetComponentUsePenClassAttr(obj, componentIndex, useLeftPenClassAttributes, useRightPenClassAttributes):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| obj | HANDLE | The object. Can be a wall, round wall, slab, Wall Style, Slab Style, the Wall Preferences, or the Slab Preferences. |
| componentIndex | INTEGER | The index of the component. |
| useLeftPenClassAttributes | BOOLEAN | Whether or not the component will use class attributes for its left pen. |
| useRightPenClassAttributes | BOOLEAN | Whether or not the component will use class attributes for its right pen. |
CJG 3-23-07
VS Functions: GetComponentUsePenClassAttr
Availability: from VectorWorks 2008