Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Reference refLine = uidoc.Selection.PickObject(ObjectType.Element, new LineSelectionFilter(), "Seçin"); Element f = doc.GetElement(refLine); DetailCurve f = doc.GetElement(refLine) as DetailCurve; Curve curve = f.GetGeometryObjectFromReference(refLine) as Curve; XYZ p = curve.GetEndPoint(0); XYZ q = curve.GetEndPoint(1);
Hi i want get endpoint of selected detail line's endpoint the code above didnt work for me.
How can i retrieve the endpoint?
Regards..
Solved! Go to Solution.