
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, everyone.
The Revit API is still new to me. I'm in the process of making a Revit addin that creates a view section cut and sets its far clip offset to 1/16" by default. In searching through the API, I wasn't able to find a property or method that would allow me to directly modify the far clip offset. I know, from the remarks of the ViewSection.CreateSection Method, that "the far clip distance will be equal to the difference of the z-coordinates of BoundingBoxXYZ.Min and BoundingBoxXYZ.Max," and, from the BuiltInParameter Enumeration, that VIEWER_BOUND_OFFSET_FAR can be used to access the far clip offset (I think it's read-only?).
I'm wondering if anyone knows of a workaround for modifying the far clip offset of a view section, as I'm still surprised that I don't see a property for it. Would I have to modify the coordinates of the BoundingBoxXYZ?
I apologize in advance if there is an obvious solution; I've been genuinely unsuccessful in finding one.
Any advice is much appreciated.
Solved! Go to Solution.