get_sheet_metal_info
Reads active SOLIDWORKS sheet metal settings—thickness, bend radius, K-factor, bends, flat pattern size, piece count and flattened state—without modifying the part.
Instructions
Read the active part's sheet metal settings (read only): thickness, default bend radius, K-factor, the bends (inside radius, angle in degrees and width of each), flat pattern size (bounding box, largest first), number of flat pieces, and whether the part is flattened now. A part with no unsaved changes is measured on a temporary copy, so the document is untouched and stays unmodified (measured_on = copy); an already modified part is measured in place, the flat pattern shown (or hidden) for a moment and then put back exactly as it was (measured_on = document). Refused on a part that is not sheet metal, and on assemblies and drawings.
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": "get_sheet_metal_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit for the sizes in the result (mm, cm, m, inch or ft) |