daz_batch_transform
Batch apply translate, rotate, and scale transforms to multiple nodes simultaneously for uniform scene adjustments.
Instructions
Apply the same transform properties to multiple nodes.
Useful for moving, rotating, or scaling multiple objects by the same amount. Only properties that exist on each node are applied (missing properties are silently skipped).
Args: node_labels: List of node display labels to transform. transforms: Dictionary of property names to values (e.g., {"XTranslate": 50, "YRotate": 45}).
Returns:
results: Array of result objects with success, node, applied properties, error
successCount: Number of nodes successfully transformed
failureCount: Number of nodes that failed
total: Total number of nodes attempted
Example: # Move multiple props to the right daz_batch_transform( ["Prop1", "Prop2", "Prop3"], {"XTranslate": 100} )
# Rotate and scale multiple objects
daz_batch_transform(
["Chair", "Table", "Lamp"],
{"YRotate": 45, "Scale": 1.2}
)
# Reset rotation for all cameras
daz_batch_transform(
["Camera 1", "Camera 2", "Camera 3"],
{"XRotate": 0, "YRotate": 0, "ZRotate": 0}
)Note: Transform properties include: XTranslate, YTranslate, ZTranslate, XRotate, YRotate, ZRotate, Scale, XScale, YScale, ZScale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_labels | Yes | ||
| transforms | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||