promptforfamilyinstanceplacement spacebar to rotate causes shortcut cycling?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm writing an addin to place family instances. The general idea is that a dialog pops up and listens for a key to be pressed & depending on the key that was pressed the user will be prompted to place an instances of a particular family.
I call the addin command with a keyboard shortcut, press a key to select the family to be placed, when I press the space bar to rotate the family being placed the addin is called again & the dialog pops up again. Based on what is displayed in the Revit status bar I believe revit is just launching the addin again from the beginning.
If I wait a couple seconds then hit the spacebar, Revit is no longer listening for a keyboard shortcut or cycling.
How can I make revit stop listenig for a keyboard shortcuts/ cycling while my addin is running?
I've included a snip of the status bar of when I'm placing the family & the shortcut cycling is still in the status bar.
Thanks,
Ben