Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.18 KB

File metadata and controls

35 lines (28 loc) · 1.18 KB

GetComponentUsePenClassAttr

Description

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)

Parameters

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.

See Also

VS Functions: SetComponentUsePenClassAttr

Version

Availability: from VectorWorks 2008

Category