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: 

Looking for the CommandID to Activate a component

1 REPLY 1
Reply
Message 1 of 2
ghrrum
64 Views, 1 Reply

Looking for the CommandID to Activate a component

Hunting high and low looking, trying to find in relation to

hotkey.dialog

Hoping I can create a hotkey for the command. I'm bad even when at my best for python and java, so use small words.

1 REPLY 1
Message 2 of 2
BrianEkins
in reply to: ghrrum

Try "FusionActivateLocalCompCmd". You'll need to have an occurrence or the root component selected using the Selections object you get from the UserInterface.activeSelections property and then execute the command.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com

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