Set Component State
set_component_stateFix or float components in an open assembly, or make sub-assemblies rigid or flexible, so mates position parts correctly while preserving existing visibility, suppression, and configuration.
Instructions
Fix or float a component of the active assembly, or make a sub-assembly rigid or flexible.
Float a part so mates can position it (the first part inserted is fixed); fix
one to hold it still. Make a sub-assembly flexible so its own mates move in
this assembly (a crank whose knob turns). Only what you pass changes: the
component's suppression, visibility and configuration are kept. Needs: an
open assembly. Changes: the component's fixed or solving state. Returns:
state with component, before and after (fixed, flexible and the
properties kept).
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": {
"input_data": "<input_data>"
},
"name": "set_component_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The component and what to change: `fixed`, `flexible` or both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||