Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 1.46 KB

File metadata and controls

66 lines (52 loc) · 1.46 KB

GetClassArrow

Description

Procedure GetClassArrow returns the arrow style parameters for the indicated class.

PROCEDURE GetClassArrow(
				className : STRING;
				VAR style : INTEGER;
				VAR size  : REAL;
				VAR angle : INTEGER);
def vs.GetClassArrow(className):
    return (style, size, angle)

Parameters

Name Type Description
className STRING The indicated class.
style INTEGER Returns arrow style.
size REAL Returns arrow size in inches measured in page space.
angle INTEGER Returns arrow angle (in degrees).

Remarks

OBSOLETE for VW2008: Use [[VS:GetClassBeginningMarker| GetClassBeginningMarker]] and/or [[VS:GetClassEndMarker| GetClassEndMarker]] instead. Style indicates the index of the arrow style to be used.

Size is in page-inches. Legal values are 0.0 to 2.0.

Angle is in degrees.

Examples

==== VectorScript ====

PROCEDURE ShowNoneClassArrowValues;
VAR
style :INTEGER;
size  :REAL;
ang   :INTEGER;
BEGIN
GetClassArrow('None', style, size, ang);
Message(style, ' ', size, ' ', ang);
END;
RUN(ShowNoneClassArrowValues);

==== Python ====

See Also

VS Functions:

Version

GetClassArrow is obsolete as of VectorWorks 13.0

Availability: from VectorWorks 10.0

Category

  • Classes