sch_set_sheet_size
Sets the active schematic sheet size and orientation using standard styles or custom dimensions, so you can match drawing templates before layout or export.
Instructions
Set the sheet size / template style of the active schematic.
Changes SheetStyle on the current SchDoc. Use a named style
(A-E, A0-A4, Letter, Legal, Tabloid) or "Custom" with explicit
width and height in mils. Give style, orientation or both.
Args: style: Sheet size name, e.g. "A", "A3", "A4", "Letter", "Custom" custom_width: Custom sheet width in mils (only if style="Custom") custom_height: Custom sheet height in mils (only if style="Custom") orientation: "landscape" or "portrait"; empty leaves it as is
Returns: Dictionary confirming the style change
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| orientation | No | ||
| custom_width | No | ||
| custom_height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||