Difference between revisions of "VS:GetClassArrow"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
(wikify)
 
Line 48: Line 48:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<remark>
 
<remark>
OBSOLETE for VW2008: Use GetClassBeginningMarker and/or GetClassEndMarker instead.
+
OBSOLETE for VW2008: Use [[VS:GetClassBeginningMarker| GetClassBeginningMarker]] and/or [[VS:GetClassEndMarker| GetClassEndMarker]] instead.
 
Style indicates the index of the arrow style to be used.
 
Style indicates the index of the arrow style to be used.
  
Line 77: Line 77:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<version>
 
<version>
GetClassArrow is obsolete as of VectorWorks13.0<P>
+
GetClassArrow is obsolete as of VectorWorks 13.0
  
 
+
Availability: from VectorWorks 10.0
Availability: from VectorWorks10.0
+
  
 
</version>
 
</version>
 +
 +
-----------------------------------------------------------------------------------------------------------
 +
<seeAlso>
 +
VS Functions:
 +
* [[VS:GetClassBeginningMarker| GetClassBeginningMarker]]
 +
* [[VS:GetClassEndMarker| GetClassEndMarker]]
 +
</seeAlso>
  
 
</vwDoc>
 
</vwDoc>

Latest revision as of 23:26, 16 June 2015

.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