Wish: Leader, flip direction

Hi…,

I try to use leaders for the visualisation of some vector math. How to flip the leader direction? Using the _Dir command would be nice.

Thanks

Michael
www.flexiCAD.com

PS: Hi @pascal, FYI leader has also a bug: When you cancel the text window of the leader command, the leader is still there (leader forgets to update the viewport at the end).

Hi Michael - you mean, like this?

image

For your purposes a line with Arrowhead should do it, right? and Flip works on that. Here’s a tiny script that you can put on a button with _RunPythonScript

import rhinoscriptsyntax  as rs

rs.Command("_Line")
if rs.LastCommandResult()==0:
    id = rs.LastCreatedObjects()[0]
    rs.CurveArrows(id,1)

https://mcneel.myjetbrains.com/youtrack/issue/RH-50566

-Pascal

Unfortunately, arrowheads are not a substitute for leaders… Arrowheads are “screenspace” objects like dots, they do not change size with zoom level…

Hi Pascal and Mitch,

_ArrowHead is a compromise (snaping, no zooming).

Thanks

Michael