creo_create_safe_dimension_copy
Creates a verified copy of a Creo part, confirming model name and old dimension value before changing a single non-driven dimension. New value must be 0.5–2× the old; source remains untouched.
Instructions
按尺寸符号和预期旧值双重校验当前 Creo 零件,只在新副本中修改一个非关系驱动的正尺寸并重生成;拒绝覆盖,不保存源模型。新值限制在旧值的 0.5-2 倍。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy_name | Yes | 新副本名(不含 .prt),仅允许字母、数字、下划线和短横线。 | |
| new_value | Yes | 新尺寸值,必须在旧值的 0.5-2 倍范围内。 | |
| expected_model | Yes | 当前模型名(不含 .prt),用于防止操作错模型。 | |
| expected_value | Yes | 读取到的旧尺寸值;不一致时安全停止。 | |
| dimension_symbol | Yes | 唯一尺寸符号,例如 d11。 |