NXOpen.UF.Route.TransformObjects¶
-
Route.
TransformObjects
()¶ Refer to UF_ROUTE_transform_objects for documentation.
Signature:
TransformObjects(tags, numTags, transform, copyOperation)
Parameters: - tags (list of Tag) – Array of object tags. In an Assembly context, the tags corresponding to each Object Occurrence to be transformed. Objects may be only of types UF_route_part_type_type or UF_route_control_point_type.
- numTags (int) – The number of the above tags
- transform (list of float) – The transformation matrix to use. The structure of the transform: transform[0][0],[0][1],[0][2] - X Axis Rotation vectors [1][0],[1][1],[1][2] - Y Axis Rotation vectors [2][0],[2][1],[2][2] - Z Axis Rotation vectors transform[0][3],[1][3],[2][3] - Translation vector transform[3][3] - Scale
- copyOperation (bool) – TRUE : Copy operation FALSE: Move operation
Returns: The corresponding array of copied tags. There will be a one to one correspondence between tags of objects in the input tags list and the copy_tags array. Will be NULL for a Move operation. For a Copy operation, free using UF_free.
Return type: list of Tag
License requirements: UG/ROUTING or routing_advanced