How to block explode CAD?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to block Explode CAD.
I searched through the forum, found that:
Solved: Hide or block explode import instance (CADS) - Autodesk Community - Revit Products
and then followed the comment to go there:
Re: Make instance and its parameters NOT editable - Autodesk Community - Revit Products
But this doesn't seem to fit here. There is no such thing as PostableCommand.ExplodeCAD so I extracted all the possible command identifiers and bound them one by one to BeforeExecuted in such a way that every time I click anything in Revit it logs a name of the command to the text file. I then opened the file and ran explode CAD. Everything I saw in my log, however, was ID_BUTTON_SELECT and it's not that. When I tried to block this command by assigning an adequate BeforeExecuted and Execute functions to it, it turned out that it's triggered virtually every time I do anything (or even nothing at all) in Revit.
What is the ID of the exploding CAD comment or how to obtain it? The journal files aren't helpful as well.