
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
After the most recent update (Aug 5th) I am now having issues around the ui.selectEntity function in my plugin. I have been able to repeat a few strange behaviors by using a "blank" command that uses just the following.
If I use this arrangement inside of a try statement I get the message box looping. Even when running through debugging it will just strait from the message box to the select entity (but not prompt a selection) and the right back to the message box.
app = adsk.core.Application.get()
ui = app.userInterface
ui.messageBox('This is a test box')
testPoint = ui.selectEntity('Select point', 'Vertices')
If I try it with the message box comment out I can select my entity (still no prompt) but when I select something (I used just a point on a test box shape) it throws this error and causes fusion to crash when I click ok.
app = adsk.core.Application.get()
ui = app.userInterface
#ui.messageBox('This is a test box')
testPoint = ui.selectEntity('Select point', 'Vertices')
I know there were some additions in this most recent update (the activeSelectionEvent) and I am wondering if this had anything to do with this since I wasn't having this issue yesterday
Solved! Go to Solution.