list_dimensions
Retrieve dimensions from a Creo model to inspect or filter them by name, type, or selection state, including selecting found dimensions in Creo for downstream edits.
Instructions
本服务器只修改已经打开的 Creo,经 CREOSON 完成。CREOSON 不能草图、拉伸、打孔或圆角;新建几何用 extrude/revolve/hole/round 等建模工具。尺寸值用模型单位。工具不假定尺寸名,也不假定某次会话里的数值或包围盒。feature/list 只列可见特征,不能据此判断没有实体。除非 action 是 save,否则不会 file/save。破坏性 action 必须带精确 confirm。选择器为空或全匹配时,普通令牌不够,要对应的 ALL_* 令牌。feature/suppress 与 resume 省略 with_children 时,处理器默认 true,会连带子特征。layer/show 不会删除层。interface/export_image 的 height 和 width 在一次观察里按英寸起作用,不是像素。
Get a list of dimensions from a model. select=true clears the current Creo selection.
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": "list_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File name Default: The currently active model. | |
| name | No | Dimension name; only used if names is not given Wildcards allowed. | |
| names | No | List of dimension names Default: The name parameter is used; if both are empty, then all dimensions are listed. | |
| select | No | If true, the dimensions that are found will be selected in Creo Default: false. | |
| encoded | No | Whether to return the values Base64-encoded Default: false. | |
| dim_type | No | Dimension type filter Default: no filter. Valid values: linear, radial, diameter, angular. |