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 Match the source object(s) scale/rotate pivot positions to the target transform’s pivot. position / pos bool Match the source object(s) position to the target object. rotation / rot bool Match the source object(s) rotation to the target object. scale / scl bool 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