e3d_copy_element
Copies supported native E3D geometry into an explicit destination parent under a new /NAME, with preview, revision-guarded execution, and native readback verification.
Instructions
Copy supported native geometry through one guarded SDK operation under an explicit destination parent and new /NAME. Preview first and execute with its revision as expected_revision; inspect the source-to-copy mapping and native readback. Supports CYLI, BOX and CONE with leaf NCYL, NBOX and NCON cuts, positive standard DISH without children, plus bounded SUBE trees containing these and simple PANE/PLOO/PAVE geometry, up to 2048 nodes and depth 32. DISH copying preserves DIAM, HEIG and stored RADI, and its origin remains the base circle centre. DISH with any children and NDIS are unsupported. Whole EQUI equipment, rules, links and UDET types are unsupported. Named descendants receive the new root name plus -C and their depth-first sequence number; unnamed descendants remain unnamed. Omitted position and orientation independently preserve the source WORLD components; supplied components use wrt, whose OWNER is the destination parent. Native inspection decides eligibility and name collisions. A failed copy attempts cleanup of only its new subtree; inspect cleanup and actual residual state before retrying. This is not an atomic database transaction. Does not select CE, add to the Drawlist, or fit the camera. Never automatically replay a copy to obtain an image.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_refno": "<source_refno>",
"parent_refno": "<parent_refno>",
"name": "<name>"
},
"name": "e3d_copy_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wrt | No | OWNER means the destination parent; otherwise WORLD, /NAME or =database/element. | OWNER |
| name | Yes | Required new root /NAME, at most 50 characters including slash, without whitespace or control characters. Native preflight requires at most 44 when named descendants need the six-character -C0001 suffix; anonymous descendants need no suffix. Names are never truncated. | |
| dry_run | No | ||
| position | No | Position in millimetres in wrt; omit to preserve the source WORLD position. | |
| orientation | No | Unit orthogonal X/Y axes in wrt; omit to preserve the source WORLD orientation. | |
| parent_refno | Yes | Explicit destination parent /NAME or =database/element reference. | |
| source_refno | Yes | Explicit source /NAME or =database/element reference. | |
| capture_after | No | After a confirmed successful operation, return a native E3D image receipt. | |
| capture_width | No | ||
| capture_height | No | ||
| expected_revision | No | Revision from copy preview. Required for execution; may be omitted for preview. |