Set Component State
set_component_stateFix or float assembly components, make sub-assemblies flexible, and hide or make parts transparent to control assembly visibility and motion without changing other component states.
Instructions
Fix or float an assembly component, make a sub-assembly flexible, or hide it or make it transparent.
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). Hide a component (visible false)
or make it transparent to see the parts inside. Only what you pass changes:
the component's suppression, configuration and other states are kept. Needs:
an open assembly. Changes: the states you pass. Returns: state with
component, before and after (fixed, flexible, visible and the
properties kept), and appearance (visible, transparent) when you
changed it.
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`, `visible`, `transparent`, any of them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||