Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Bug with SelectionCommandInput.setSelectionLimits()

Anonymous
401 Views
1 Reply
Message 1 of 2

Bug with SelectionCommandInput.setSelectionLimits()

Anonymous
Not applicable

Hello, 

I made an python add-in. And until Friday it worked fine.

After Friday in this app did not select faces. I found that problem with method SelectionCommandInput.setSelectionLimits(). If I use parameter 0 in this method, then I can't select any object. If I use for example 100 then  I can select only one object. Is it global problem or only for me?

 

 

0 Likes
Accepted solutions (1)
402 Views
1 Reply
Reply (1)
Message 2 of 2

ekinsb
Alumni
Alumni
Accepted solution

Another developer also reported this problem this morning and I've narrowed the problem down to the executePreview event.  If you're connecting to that event then it results in problems with the selection.  Obviously it's a problem we need to fix but if it's possible to not use the executePreview in your command that will be an easy workaround until then.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
1 Like