Structural Framing Justification/Position changes with Cross-Section Rotation, How to keep the position from changing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Using Revit API, I was able to place structural steel beams inside the Revit model. In order to tweak the cross-section rotation of each individual framing members, I set the rotation angle to the BuiltInParameter.STRUCTURAL_BEND_DIR_ANGLE parameter. This approach allows for the beams to rotate around its reference or location line. However, the justification of the member changes with cross-section rotation as seen below:
Original state with no rotation, the beam is on-plane
After rotation, the justification of the beam changes and is no longer on-plane (the depth changes)
The correct justification that I want
I understand that this occurs because the member rotates around its location line as shown in the picture below, thus the justification changes.
In order to fix the justification, I know that the y Justification and z Justification can be set internally since both of them are BuiltInParameters. Setting both y and z Justification will fix this problem However, I am curious whether there is a simpler solution where I can rotate the element but still keeping the element's depth or position on-plane with its original state.
Thanks in advance