add_view
Creates model, projected, section, or detail views on a SolidWorks drawing sheet with specified placement, orientation, alignment, scale, and spacing for dimensioning.
Instructions
Add a view. kind:
'model': orientation 'front', 'top', 'right', 'left', 'back', 'bottom', 'iso' or '*Name'; its geometry centred on at=[x, y] (sheet mm), or beside='' on side 'right'/'left'/'above'/'below';
'projected': from parent, on side (first angle), aligned with it;
'section': parent cut by the plane through model point through=[x, y, z] square to model axis normal ('x'/'y'/'z'); label 'A'; flip=True looks the other way;
'detail': of parent, the circle round model point center=[x, y, z] with model radius radius_mm, at scale (default about 2.5x the parent's). Placed with room for dimensions, past views in the way (gap_mm to fix the gap). scale '1:2'. A section or detail view keeps its label's name;
namebecomes an alias for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| flip | No | ||
| kind | No | model | |
| name | No | ||
| part | No | ||
| side | No | ||
| label | No | ||
| scale | No | ||
| beside | No | ||
| center | No | ||
| gap_mm | No | ||
| normal | No | x | |
| parent | No | ||
| through | No | ||
| radius_mm | No | ||
| orientation | No | front |