Path of Travel points

HELP!
Is there a way to get ALL points of a Path of Travle line, not just the Waypoints node?

Element.GetLocation does not work
Would be great to get the Start and End point of the total length.

thanks in advance,
Mike

Element.Curves, followed by dropping the start and end curves from the list of memory serves - you definitely have to get rid of the beginning and end marker geometry, just can’t remember which if it is the start and end or all at the start or all at the end.

From there use a PolyCurve.ByJoinedCurves node, and finally a PolyCurve.Points node.

1 Like

They can have coincident geometry that causes Element.Curves to fail. Element.Geometry seems to handle this better. Then you can remove the end marker geometry.

Can’t say I have seen this - does it fail, or throw a warning?

Both throw a conversion warning (coincident points) but the Element.Curves node completely fails. The GetCurves() method works correctly for just the pathway segments, so that’s probably the best option. Makes me think it’s something in the marker geometry.

1 Like