MatchTransform
 
 
 

MatchTransform

Description

Copies the specified transformation of a picked object onto the selected objects

Scripting Syntax

MatchTransform( [InputObjs], [TargetObj], [Type], [LocalReference] );

Parameters

Parameter Type Description
InputObjs String List of objects to transform.

Default Value: Selected elements

TargetObj String Target object to match.

Default Value: From pick session

Type siTransformFilter Specifies the type of transformation to copy

Default Value: siSRT

Possible Values:

Description:

siScl Reset scaling
siRot Reset rotation
siTrn Reset translation
siSR Reset scaling and rotation
siST Reset scaling and translation
siRT Reset rotation and translation
siSRT Reset scaling, rotation, and translation
LocalReference Boolean Copy the local transform, global otherwize

Default Value: False

See Also

Translate Scale Rotate ResetTransform