Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

problem with hotkeys mel

problem with hotkeys mel

Anonymous
Not applicable
475 Views
1 Reply
Message 1 of 2

problem with hotkeys mel

Anonymous
Not applicable

I have this example where I want to cycle through objects and look through them when pressing shift l, preferably lights only but it doesn't seem to be working. any suggestions? There are no errors

 

nameCommand
-ann "walk through lights right"
-c "pickWalk -d right; lookThru `ls -sl`;"
wtr;
hotkey -k "l" -sht -name "wtr";

nameCommand
-ann "walk through lights right"
-c "pickWalk -d left; lookThru `ls -sl`;"
wtl;
hotkey -k "k" -sht -name "wtl";

 

only one works at a time. 

 

0 Likes
Accepted solutions (1)
476 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

I think I got it, I have to add this "savePrefs" after each hotkey 

0 Likes