Dry-run an Unwrap
unwrap_tryAttempt Inventor's Unwrap on selected faces to find which set unwraps, reporting success or error, time, face count, area, and bounding box; deletes result by default.
Instructions
Attempts Inventor's Unwrap feature on a set of faces and reports what happened: success or the error and Inventor's last error message, time taken, and on success the result face count, area in mm^2 and bounding box in mm. By default the created feature is deleted right away so the document is left unchanged; pass keep=true to leave it in the model. Use it to find which face set unwraps, which the Inventor UI does not tell you.
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": {
"face_indices": "<face_indices>"
},
"name": "unwrap_try"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | 1-based index of the solid/surface body in the part, as listed by `model_info`. Most parts have one body. | |
| keep | No | If true, the Unwrap feature stays in the document (modifies the model). If false (default), it is deleted after measuring. | |
| document | No | Display name of an open document, as listed by `status` (e.g. "Bracket.ipt"). Omit or leave empty to use the active document. | |
| alignment | No | Passed to Inventor's Unwrap definition as its alignment option: origin, or the XY/XZ/YZ base plane. | origin |
| face_indices | Yes | 1-based indices of the faces to unwrap, as returned by smallest_faces or face_neighbors. | |
| auto_face_chain | No | Passed to Inventor's Unwrap definition as its auto face chain option. | |
| merge_result_body | No | Passed to Inventor's Unwrap definition as its merge result body option. |