Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bug with SelectionCommandInput.setSelectionLimits()

1 REPLY 1
SOLVED
Reply
Message 1 of 2
VitautTryputsin
297 Views, 1 Reply

Bug with SelectionCommandInput.setSelectionLimits()

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?

 

 

1 REPLY 1
Message 2 of 2
ekinsb
in reply to: VitautTryputsin

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report