Hi,
I created a macro that added tolerance to a dimension selected by user.
The workflow is as follow:
1) Select a dimension
2) Run the macro
The macro work fine from the command button and even mouse gesture.
However, when i assign it to a keyboard shortcut with [ALT] modifier (eg: [ALT] + [T]), the macro could not work.
Surprisingly, when i assign the macro to keyboard shortcut with other modifier (eg: [SHIFT] + [T] or [CTRL] + [T]), the macro seem to work just fine.
Any idea why the macro could not be assign to the keyboard shortcut with [ALT] modifier?
SolidworksApi/macros
It has to do with the dimension palette that is shown when you select a dimension:
If you notice, when the dimension palette is shown and you hold down CTRL or SHIFT, then the palette temporarily disappears. But this is not the case with the ALT key. So, while the dimension palette is shown, NO hotkeys with the ALT modifier will work.
Similar (but not the same) as this issue: