Gets the use class attributes flags of the pens of a component in an object.
FUNCTION GetComponentUsePenClassAttr(
obj : HANDLE;
componentIndex : INTEGER;
VAR useLeftPenClassAttributes : BOOLEAN;
VAR useRightPenClassAttributes : BOOLEAN): BOOLEAN;def vs.GetComponentUsePenClassAttr(obj, componentIndex):
return (BOOLEAN, useLeftPenClassAttributes, useRightPenClassAttributes)| 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 | Returns whether or not the component is using class attributes for its left pen. |
| useRightPenClassAttributes | BOOLEAN | Returns whether or not the component is using class attributes for its right pen. |
VS Functions: SetComponentUsePenClassAttr
Availability: from VectorWorks 2008