Message 1 of 2
Revit Addin Window + Selection

Not applicable
12-20-2015
12:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dears,
Is it possible for a Revit Addin to show a panel/window to the user so that the user can select elements from Revit model then return to the Addin for further processing on the selected elements (then re-selecting another elements and so-on) ?
I thought of opening a WPF window from execute method. However, I got an error about "Starting a transaction from an external application running outside of API context is not allowed". I believe the reason is that the window will run on different thread than Revit API. However, if I made the window running on same thread, the user will not be able to interact with Revit to select the elements !!
What do you think a proper solution here ?
Thanks