set_component_visibility
Hide or show assembly components, including parts inside sub-assemblies by path, to declutter the view without suppressing mates, interference checks, or mating.
Instructions
Hide or show components of the active assembly (visible = false hides). Hiding only stops the drawing: the component's mates still hold, it still counts in check_interference and it can still be mated to. A part inside a sub-assembly is addressed by path ('Door-1/Slat-3'), and a list changes several components in one call. list_components marks hidden ones with 'hidden': true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_component_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | No | false = hide, true = show | |
| component | No | One component, instead of the list | |
| components | No | Component names or paths |