cmds.xform ('pCube1',piv=cmds.xform("pCube2", q=1, piv=1, ws =True),
ws=True)

is this what you want?

On May 23, 2:47 pm, Vitor Lôbo Ramos <[email protected]>
wrote:
> To align a pivot of an object on another, uses cmds.xform ('pCube1',
> piv=( #the value X,Y,Z,of the pCube2 ) ws=True or os = True )
>
> What is the correct way to align the pivot pCube1 in pCube2 without
> using the axes x, y, z?
>
> Thanks to whoever can help me.
>
> --http://groups.google.com/group/python_inside_maya

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to