Skip to content

Instantly share code, notes, and snippets.



Last active Oct 7, 2020
What would you like to do?
public static XYZ Intersection(this Autodesk.Revit.DB.Line line1, Autodesk.Revit.DB.Line line2)
IntersectionResultArray iResult = new IntersectionResultArray();
SetComparisonResult setComparisonResult = line1.Intersect(line2, out iResult);
if (setComparisonResult != SetComparisonResult.Disjoint)
return iResult.get_Item(0).XYZPoint;
return null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.