Get grids intersection Points with XYZ coordinates

@DavidMena

Try this:

## Inputs
axis_x = UnwrapElement(IN[0])
axis_y = UnwrapElement(IN[1])

## Curves
curves_x = [x.Curve for x in axis_x]
curves_Y = [y.Curve for y in axis_y]

## Intersections
results = clr.Reference[IntersectionResultArray]()

points = []
for x in curves_x:
	for y in curves_Y:	
		int = x.Intersect(y, results)
		if int != SetComparisonResult.Overlap:
		     OUT = "No Overlaping"
		else:
		    point = results.Item[0].XYZPoint
	        points.append(point)

OUT = points
2 Likes