Transforms a set of occurrences in one step. This provides better performance than transforming them one at a time. This method is only valid when called on the root component because Fusion flattens the entire assembly structure when manipulating the assembly so all transforms are relative to the root component.
"component_var" is a variable referencing a Component object.
|
"component_var" is a variable referencing a Component object.
|
Type | Description |
boolean | Returns true if the transform was successful. |
Name | Type | Description |
occurrences | Occurrence[] | An array of Occurrence objects that you want to transform. These must all be in the context of the root component which means proxies must be used for occurrences that are in sub-components. |
transforms | Matrix3D[] | An array of Matrix3D objects that defines the transform to apply to each occurrence. This array must be the same size as the array provided for the occurrences argument and the transform will be applied to the occurrence at the same index in the occurrences array. |
ignoreJoints | boolean | Specifies if the joints are to be ignored and the occurrences are to be positioned based on then specified transform or if the joints should be used and the occurrence is transformed the best it can while still honoring the joints. |