Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Create a keyboard alias/shortcut via iLogic/VBA

DRoam
Mentor

Create a keyboard alias/shortcut via iLogic/VBA

DRoam
Mentor
Mentor

Is it possible to set up a keyboard alias via iLogic or VBA? To clarify, I'm not trying to assign a shortcut key to an iLogic rule or VBA macro. I am trying to set up an alias or keyboard shortcut for an Inventor command via the API.

 

In other words, before the code runs, the "iProperties" command has no keyboard shortcut. After the command runs, the "I" key or "Ctrl+I" is now the shortcut for iProperties. This should affect the actual Customization settings so it persists from session to session.

 

Is this possible?

0 Likes
Reply
608 Views
1 Reply
Reply (1)

JamieVJohnson2
Collaborator
Collaborator

CommandControl.KeyTip property states it is read/write  "Gets and sets the keyboard access key for the control."

Otherwise, you are creating a customization xml file, and importing it (the real permanent method).  Unsure if you can do that via code at this time.

jvj
0 Likes