edit_object
Modify specified properties and view settings of an existing FreeCAD object, keeping all other attributes unchanged.
Instructions
Change properties of an existing object.
Only the properties you pass are touched; everything else is left alone.
Call get_object first if you are unsure which properties exist.
Value formats accepted by properties:
numbers/lengths 10 or 10.5 (millimetres)
vectors [x, y, z] or {"x":.., "y":.., "z":..}
placement {"Base":[x,y,z], "Rotation":{"Axis":[0,0,1], "Angle":45}}
rotation 45 (degrees about Z) | {"Axis":[..],"Angle":..} | {"Yaw":..,"Pitch":..,"Roll":..}
links "Box" (object Name or Label) link lists: ["Box","Cylinder"]
colours "#ff8800" | [1.0, 0.53, 0.0] | [255, 133, 0]
view_properties targets the ViewObject: ShapeColor, Transparency (0-100),
DisplayMode ("Flat Lines","Shaded","Wireframe"), Visibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| label | No | ||
| document | No | ||
| properties | No | ||
| view_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||