Linked Model - Custom View Range/Custom Cut Plane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I'm still pretty new to C# and the working inside the API, but I've got a good start on a project that I'm hoping I can get some help on.
I work at a structural engineering firm. When we get models from the architect, the best workflow we have is to assign each framing plan manually to a Linked View in the arch model, where we show the Arch Floor plan of the floor below. For example, the Second Floor Framing Plan uses the First Floor Arch Plan as a background.
If we try to show the linked model with the Host View Range, it will show doors, walls, floors, etc. on the floor above, which we don't want (see view range below)
I've asked about better workflows in the Structure Forum with little success, so I'm turning to the API.
Through the API I'm using a FEC that passes an ElementMultiCategoryFilter to get all categories I can hide in the active view, and an ElementIntersectsSolidFilter to make a Bounding Box that is offset below Associated Level, then make a list of all the linked model elements that are outside the bounding box, so that I can Hide them with HideElements. This actually all works!
BUT.
The Linked Model View Range is still set to By Host View, which means that elements don't show as cut, when they'd show up much better if they did.
Is there any way to use the API to visually assign the cut parameter/cut plane/view range to these elements?