How to add keymap (shortcut) in a newly written addon

145 views Asked by At

I am new to the programming and blender. I have written a small addon which is working fine. But I want to assign that to a key (shortcut). Can anyone please help me with it. Thanks

1

There are 1 answers

0
wiwa53 On

Assign Shortcut link to picture

My Addon was made for the Tool section (Press N). Right mouseclick on the button brings up the menu with Assign Shortcut, click that and set your key.

But, there are better forums to ask this