@Alasdair wrote:
Is it possible to change the arrow type for leaders using Rhinoscriptsyntax or rhinocommon? Here’s what I have so far.
import rhinoscriptsyntax as rs
import Rhinodef LeaderArrowType():
leaders = rs.GetObjects(“Choose leaders to change”, rs.filter.annotation, preselect=True)
if not leaders: returnfor leader in leaders: leader = rs.coercerhinoobject(leader) arrowStyle = Rhino.DocObjects.DimensionStyle.ArrowType.Dot leader.Geometry.LeaderArrowType = arrowStyle
LeaderArrowType()
This doesn’t seem to be working. I’m guessing that “leader.Geometry.LeaderArrowType” can on get the arrow type, not set it?
Thanks All
Posts: 2
Participants: 2