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: 

Fusion 360 API: How to select a component with no command dialogue?

1 REPLY 1
Reply
Message 1 of 2
mntruell
175 Views, 1 Reply

Fusion 360 API: How to select a component with no command dialogue?

The Xometry Fusion 360 plugin allows the user to select a component without seeing a command dialogue -- instead, the user only interacts with a palette.

 

How can I replicate this functionality in my own Add-in? I can't figure out how to do this with commands, because it doesn't look like you cannot create a selection command input without showing the user a dialogue.

 
1 REPLY 1
Message 2 of 2

Hi @mntruell 

you can use ui.selectEntity 

selItem = ui.selectEntity("select the component","Occurrences")

 

Here is the documentation https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-c05f97b8-9c8f-404b-8b21-f170d194ef8e

 

This will allow to select an entity without any ui


Boopathi Sivakumar
Senior Technology Consultant

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

Post to forums