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: 

Shortcut for a custom interface buttonDefinition

3 REPLIES 3
Reply
Message 1 of 4
wh6Q9NU
553 Views, 3 Replies

Shortcut for a custom interface buttonDefinition

For a custom Add-Inn a buttonDefinition is defined (to open a commandDefinitionPanel).

How can I define a shortCut for this buttonDefinition on creation?

 

Thanks in advance for any help!

 

custom shortcut

3 REPLIES 3
Message 2 of 4
marshaltu
in reply to: wh6Q9NU

Hello,

 

Did you mean to promote custom command definition to toolbar panel? If so, it should be supported by default. One example is "Spur Gear" addin. We can promote the button to toolbar by "Add to toolbar". If it didn't work for your case, please provide workable sample to us for investigation.

 

Thanks,

Marshal

 

Shortcut for custom interface.png



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 3 of 4
wh6Q9NU
in reply to: marshaltu

Thanks, but the solution I'm looking for is assigning a shortcut so the custom feature can be started with single keystroke. Like the "L" for creating a Sketch line. But maybe that's not currently possible. 

 

Shortcut example for Line: "L"

Message 4 of 4
marshaltu
in reply to: wh6Q9NU

Hello,

 

Unfortunately we don't have APIs to set keyboard shortcuts for commands yet. I would recommend you to log the idea to our IdeaStation so that our product management team can prioritize it and other users can vote for your idea.

 

http://forums.autodesk.com/t5/ideastation-request-a-feature-or/idb-p/125

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

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