batchSetParent
Assign or update parent-child relationships for multiple 3D objects in a single operation, preserving world transforms if needed, using the 3D-MCP server.
Instructions
Set parent for multiple objects
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Parent assignments to make | |
maintainWorldTransform | No | Whether to preserve world transforms after reparenting |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Parent assignments to make",
"items": {
"additionalProperties": false,
"properties": {
"id": {
"description": "Object identifier",
"type": "string"
},
"parentId": {
"description": "Parent object ID (null to unparent)",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"parentId"
],
"type": "object"
},
"type": "array"
},
"maintainWorldTransform": {
"default": true,
"description": "Whether to preserve world transforms after reparenting",
"type": "boolean"
}
},
"required": [
"items"
],
"type": "object"
}