Enables or disabled a curve object's annotation arrows.
rhinoscriptsyntax.CurveArrows (curve_id, arrow_style=None)
rhinoscript.curve.CurveArrows (curve_id, arrow_style=None)
curve_id |
Required. Guid or String. The object's identifier. |
||||||||||
arrow_style |
Optional. Number. The style of annotation arrows to be displayed. The styles are as follows:
|
Number |
If style is not specified, the current annotation arrow style if successful. |
Number |
If style is specified, the previous annotation arrow style if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select a curve", rs.filter.curve)
if rs.CurveArrows(obj)!=3: rs.CurveArrows(obj, 3)