VS:GetClassArrow

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


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

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 GetClassBeginningMarker and/or 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.

Example

VectorScript

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

Python


Version

GetClassArrow is obsolete as of VectorWorks 13.0

Availability: from VectorWorks 10.0

See Also

VS Functions:
VS Functions:
  • [[VS:GetClassBeginningMarker| GetClassBeginningMarker]]
  • [[VS:GetClassEndMarker| GetClassEndMarker]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox