I am trying to move a cube position into a vertex on a plane. I want the cube to be poistioned right on its pivot point when moving it to that vertex. no matter where i change the pivot point of the cube it place it to the same poistion.
cmds.xform('pCube1',cp=True)
point=cmds.xform('pPlane1',q=True,ws= True,t= True)
cmds.move(point[0],point[1],point[2],'pCube1')