Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
DetailCurve CreateModelCurve(Document doc, Autodesk.Revit.DB.View view, Autodesk.Revit.DB.XYZ point1, Autodesk.Revit.DB.XYZ point2)
using (Transaction tran = new Transaction(doc))
Line line = Line.CreateBound(point1, point2);
DetailCurve detailCurve1 = doc.Create.NewDetailCurve(view, line);
return detailCurve1;
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.