
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am currently putting together a builderswork utility based on intersections of architectural walls and floors and have ran into issues with services intersecting with floors on a vertical (Z Axis) due to not being able to get the rotation of the service.
Been looking through sources online for a solution and unable to find one, so looking for some help from some people who can assist and hopefully a solution.
Currently I know that getting the rotation from a FamilyInstance can be obtained by casting the (FamilyInstance.Location as LocationPoint).Rotation
How would I obtain the rotation from an Element that can only be cast into a LocationCurve? (like duct, pipe, conduit, etc)
Would it be through the Transform class somehow by using XYZ.BasisZ.AngleTo()?
Solved! Go to Solution.