Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 30-12-2015 , 07:08 PM
Registered User
Join Date: Dec 2015
Posts: 2

How to bind a key to 'Tool Settings -> Transform Constraint -> Surface'?

Hey guys,

I'm using Maya 2016 and frequently using the option I mentioned above to slide vertices across my meshes. Is it possible to bind this tool to a key (maybe via MEL script or something else)?
I can't find the command in the 'Hotkey Editor' user added image

Thanky you in advance!

# 2 31-12-2015 , 09:14 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
If you turn on Echo all commands in the script editor you can grab the command names from the read out after performing the relevant tasks. Which in this case is the dR_slideSurface and dR_slideOff. The problem is that these commands seem to be intentionally buried and documentation is hard to find. They are in the Hotkey Editor under "Other Items" under the modeling toolkit section but since the commands are so buried and undocumented (and separate), getting a toggle effect would be difficult.

I whipped up something that allows you to cycle through the three modes, put it in your user scripts folder. In your hotkey editor, create a custom command and enter this line into the script area:
Code:
gen_cycleTransformConstraint;
Assign your hotkey to that as normal.

Happy New Year user added image

Download


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 3 31-12-2015 , 03:53 PM
Registered User
Join Date: Dec 2015
Posts: 2
Thank you very very much, Genny, it's perfect! user added image

And Happy New Year as well!!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads