Template Management Tools¶
Compare two SolidWorks template files (.prtdot, .asmdot, .drwdot) on disk. To
start a part from a template, give template to create_part.
Prerequisite: Both template files on disk.
Total tools in this category: 1
compare_templates¶
Compare two template files on disk: whether they are byte-identical, and how their sizes differ.
Prerequisite: SolidWorks running
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
template1_path |
str |
✅ | Path to first template | |
template2_path |
str |
✅ | Path to second template |
Sample call:
{
"template1_path": "C:\\Temp\\mcp_demo\\file.sldprt",
"template2_path": "C:\\Temp\\mcp_demo\\file.sldprt"
}