VS:SetObjArrow

From Vectorworks Developer
Revision as of 18:00, 27 April 2008 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


Description

Procedure SetObjArrow sets the arrow style parameters for the indicated object. Marker Styles

Marker Style Constant
Filled Arrow 0
Empty Arrow 1
Open Arrow 2
Filled Circle 3
Empty Circle 4
Slash 5
Cross 6


PROCEDURE SetObjArrow(
obj  :HANDLE;
style  :INTEGER;
size  :REAL;
angle  :INTEGER;
start  :BOOLEAN;
END  :BOOLEAN);
def vs.SetObjArrow(obj, style, size, angle, start, end):
    return None

Parameters

obj HANDLE The indicated object.
style INTEGER The arrow style.
size REAL The arrow size in inches measured in page space.
angle INTEGER The arrow angle (in degrees).
start BOOLEAN Whether the start point of the object has an arrow.
end BOOLEAN Whether the endpoint of the object has an arrow.

Remarks

OBSOLETE for VW2008: Use SetObjBeginningMarker and/or SetObjEndMarker 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 SetObjArrowValues;
BEGIN
SetObjArrow(FSActLayer, 1, .25, 15, TRUE, TRUE);
END;
RUN(SetObjArrowValues);

Python


Version

SetObjArrow is obsolete as of VectorWorks13.0


Availability: from VectorWorks10.0


Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox