pymel.core.general.matchTransform

matchTransform(*args, **kwargs)

This command modifies the source object’s transform to match the target object’s transform. If no flags are specified then the command will match position, rotation and scaling.

Flags:

Long Name / Short Name Argument Types Properties
pivots / piv bool ../../../_images/create.gif
  Match the source object(s) scale/rotate pivot positions to the target transform’s pivot.
position / pos bool ../../../_images/create.gif
  Match the source object(s) position to the target object.
rotation / rot bool ../../../_images/create.gif
  Match the source object(s) rotation to the target object.
scale / scl bool ../../../_images/create.gif
  Match the source object(s) scale to the target transform. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.matchTransform