I’m an animation student and this is the first time I study programing and Python.
My doubt is the following: I have two objects in a maya file: “pSphere1” and “pCone1”, and I want to place the pSphere1 center at the center of pCone1, (by center I mean pivot; I want both pivots to be aligned). pSphere1 is the one that should move to the position of pCone1. pCone 1 doesn’t move.
So, I was wondering if there is a command in Python that can center both object’s pivots.