Skip to main content

I've created straight line segments using the VertexCreator (x2) and Rotator. I need to add an arrowhead on each line segment to show the direction (from vertex 1 to vertex 2). I tried to copy the approach listed here:

 

https://community.safe.com/s/question/0D54Q000080hg35/convert-line-to-an-arraw?t=1611682329612

 

but I'm not getting an arrowhead as a result. There is mention of 2DPointAdder but I don't see 2DPointAdder as a Transform. Also I don;t understand the Line and ArrowHead portion of the solution on the link.

My approach so far is:

What am I missing?

My approach so far:


I snip the end of the line, clone it and then rotate one segment one way, and one the other way

 

Edit: i see that is your approach, what sort of length are your lines, the snipping values you have don't look like they'll be the correct ones unless all your lines are exactly 100 long?

CaptureCapture


I snip the end of the line, clone it and then rotate one segment one way, and one the other way

 

Edit: i see that is your approach, what sort of length are your lines, the snipping values you have don't look like they'll be the correct ones unless all your lines are exactly 100 long?

CaptureCapture

Thanks - I see my mistake. I Snipped based on distance instead of percentage. It's working now.

 


Reply