creo_switch_current_project_component_visibility
Switch visibility of two subassembly components in an active Creo session: suppress one and resume another, verifying the expected assembly state before saving.
Instructions
在当前五个零总装配范围内,通过常驻 Creo API 将指定子装配中的一个活动组件隐含,同时将另一个普通隐含组件恢复。工具按组件模型名唯一定位并核对原状态,原子执行、读回验证、重新生成和保存子装配及总装配、返回总装配,并把这两个装配模型族的旧版本移入回收站。
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": {
"expected_assembly": "<expected_assembly>",
"suppress_component": "<suppress_component>",
"resume_component": "<resume_component>"
},
"name": "creo_switch_current_project_component_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resume_component | Yes | ||
| expected_assembly | Yes | ||
| suppress_component | Yes |