I'm trying to move a pivot point to an edge(poly)...works like a charm through the interface using the insert mode,"c" key and MMB, but I can't seem to get Maya to recognize that attribute through MEL.
Instruction:move -x 0.5 pPlane1.scalePivot pPlane1.rotatePivot ;
Error message: // Error: line 14: Invalid argument: pPlane1.scalePivot //
When I set "Echo all commands", and move the pivot via the GUI, and then just copy and paste what's been generated...it still fails.
Any thoughts?
-York
to move the pivot point you need to use:
xform -rotatePivot double double double ;
xform -scalePivot double double double ;
or if you want to change both of them at the same times:
xform -pivots double double double ;
Hope this helps,
-a