
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
In my current addin, the user selects multiple walls within a while(true) loop until they hit the escape key; through the PickObject() method, a wall is selected to have its join ends toggled between the "Allow Join" and "Disallow Join" settings. With Revit's focus shifted to my addin (away from the UI), the user cannot manually edit any of their selected walls until the command finishes executing.
I would like for my addin to pause the while loop and restore focus back to the UI after the user picks a wall; this would allow the user to modify a wall before selecting another wall in the next iteration of the loop.
Coming up with a strategy for this has been challenging, so I would appreciate any advice.
Thank you,
IanMage1
Solved! Go to Solution.