make_drawing
Creates a manufacturing drawing from the current SolidWorks part in one call, exporting PDF, SLDDRW, DXF or DWG with standard views, dimensions and title block.
Instructions
Make a manufacturing drawing of the current part in one call: PDF, .slddrw, DXF or DWG.
Front, top and side views (first angle) plus an iso view on an ISO sheet
('A4' upright, 'A3'..'A0' landscape) with SolidWorks' ISO title block, at
the largest standard scale that leaves room for dimensions (or scale='1:2').
The model's dimensions come in once each, one hole callout per set of
identical Hole Wizard holes ('4X ...'), their centres dimensioned, and the
title block shows material and mass. Returns problems (check_drawing).
keep_open=True keeps it as the current drawing to refine with the other
drawing tools. Save the part first (save_document): the drawing refers to its file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| scale | No | ||
| sheet | No | A4 | |
| keep_open | No |