body_move
Move or copy solid bodies in Autodesk Fusion 360 using translate, rotate, align, or matrix transforms, optionally keeping originals while only the copies are repositioned.
Instructions
Move (or copy and move) bodies as a Move feature in the timeline.
Transforms: translate (x/y/z in units or expressions; design_space=false uses the
component axes), translate_along (straight edge/axis + distance), rotate (axis ref +
angle in degrees), rotate_about (free axis: point [x,y,z] in units, direction
vector, numeric angle in degrees), align (move point from onto point to: vertex,
sketch/construction point, origin:O), matrix (16 numbers row-major, a rigid rotation +
translation in units; use body_scale to scale). keep_original=true copies with
Copy/Paste (a non-associative copy; for associative copies use pattern_*), and only
the copies move. Refs: bodies/edges/vertices from inspect_query, axes/points from
origin:* or construction_*.
Errors: a non-rigid matrix, a wrong ref kind -> INVALID_PARAMS (nothing changed); on an old Fusion API expressions / component-space moves -> FUSION_API_ERROR "not available".
Returns {"feature", "health", "created_bodies" (copies), "modified_bodies" (moved originals), "removed_bodies"} + "copy": {"feature", "method"} with keep_original.
Examples:
body_move(bodies=[b], transform={"type": "translate", "z": 50})
body_move(bodies=[b], transform={"type": "rotate", "axis": "origin:Z", "angle": 90}, keep_original=true)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Unit of plain-number lengths | mm |
| bodies | Yes | Body refs (inspect_query / earlier results) | |
| transform | Yes | {"type": "translate", x, y, z, design_space} | {"type": "translate_along", entity, distance} | {"type": "rotate", axis, angle} | {"type": "rotate_about", point, direction, angle} | {"type": "align", from, to} | {"type": "matrix", matrix: 16 numbers} | |
| keep_original | No | Copy the bodies first and move only the copies |