Hi @jcoon,
Is this what you’re looking for?
For this task, I can think of two methods:
- Get the polycurve of the polyline
- Get the COGO points as Dynamo points
- Create a surface from the polycurve using Surface.ByPatch
- Use Geometry.DoesIntersect to get boolean values of the COGO points that intersect the surface and those that don’t
- Filter the original list of COGO points using List.FilterByBoolMask
OR
- Get the COGO points as Dynamo points
- Get the vertices of the polyline
- Create a Dynamo polygon using Polygon.ByPoints with the polyline vertices
- Use Polygon.ContainmentTest with the COGO points to get a list of booleans for the points that are within the polygon
- Filter the original list of COGO points using List.FilterByBoolMask