How to cycle though Transform Constraint?

How to cycle though Transform Constraint?

serhiiprihodko
Participant Participant
298 Views
1 Reply
Message 1 of 2

How to cycle though Transform Constraint?

serhiiprihodko
Participant
Participant

Hello, i just want to ask is there any way to bind one hotkey to toggle between Transform Constraints? I need simple  edge slide, surface and none to be switched via one key. Thank you!Screenshot_1.png

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

brentmc
Autodesk
Autodesk
Accepted solution

Hi,

The command you need to use is xformConstraint

  • To get the current constraint use xformConstraint -q -type
  • to set the constraint use xformConstraint -type edge (or "none" or "surface")

https://help.autodesk.com/cloudhelp/2024/ENU/Maya-Tech-Docs/Commands/xformConstraint.html

Brent McPherson
Principle Engineer
0 Likes