Message 1 of 5
RevitCommandId to open "Assign View Template" window

Not applicable
07-06-2018
09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I was hoping that I could open the "Assign View Template" window by passing a PostableCommand enumeration into the RevitCommandId.LookupPostableCommandId() method, but that enumeration does not seem to exist in the API as far as I'm aware.
I have since tested potential ID strings from journal files with the RevitCommandId.LookupCommandId() method, but these strings have only produced null RevitCommandId values or values that seemingly do nothing to the application.
If anyone knows of a better approach to programmatically open the "Assign View Template" window, I would greatly appreciate some advice. I need to be able to open this window from a button click in my addin.
Thank you.