- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
Following situation: I have a MEPSystem with some element. One of them is the main element. My plugin do things to this mep system, including of generation a new isometric View3D. Named after the mep system. works fine so far.
Now the problem: If I delete the mep system completely, how does the related View3D knows what to do? It should delete as well. I could link the mep system and the view with some attached storage, and listen to document changes, delete the view if necessary. Possible, but not elegant.
Is there a built in relationship model? Best would be a Revit native dialog pops up on deleting the mep system (or main element) saying "there is a linked view, delete as well?" like a floor plan is deleted if the user delete a level..
Any hints are welcome, thanks
Tobi
Solved! Go to Solution.