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.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Improve scriptCtx MEL command with more mouse button clicks or modifiers keys

Improve scriptCtx MEL command with more mouse button clicks or modifiers keys

(Copied from original User Voice forum)


"Improve scriptCtx or add a new mel command that allows usage of all mouse buttons and modifier keys to run multiple commands from the same tool. 


Example: 
Create a polygon reduction tool that merges Target Weld, Delete Edge Loop and Collapse Edge Ring in one single tool. The switch would be done with modifier keys that can be queried when the click command is activated. 
At the moment the tool is based on the selection context and I've tried using getModifier to run more commands in the same tool but I'm practically limited to SHIFT and CTRL+SHIFT since CTRL+Click will deselect and I cannot run that on my first component click and ALT+Click is reserved for camera movement and again, does nothing.


Also check out my other suggestion regarding pressed keys:

http://mayafeedback.autodesk.com/forums/160514-ideas-for-maya-forum/suggestions/18495562-query-keypr..."

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea