Hi everyone,
I am currently working on a Dynamo script for a Civil Engineering project where I need to extract specific edges from a Linked Revit File.
The Setup:
I am using the node “Select Reference on Element” to pick an edge of an element inside a Linked Instance.
This returns a Dynamo wrapper: Revit.GeometryReferences.ElementCurveReference.
I have already retrieved the RevitLinkInstance, the Link Document, and the TotalTransform of the link.
The Problem: I am struggling to convert this ElementCurveReference back into a tangible Autodesk.Revit.DB.Curve or Edge to using in host file. Since it is a Reference to a linked element, typical methods like .Curve or .GeometryCurve on the Dynamo object return empty or error out.
Any Python snippets or logic advice would be greatly appreciated!
Thanks in advance!


