Convert revit.element.directshapes To curve line

Hello world!
I have a problem with my script. I have a linkRevit and I want to convert some families into curved lines. Can you help me with this?"

Element.GetLocation does not work for DirectShape models, you have to work with geometric methods in this case. Use Element.Geometry and find the desired curves in the geometries.

1 Like

Thank you I will try this method