SheetMV
Medium-voltage sheet providing a canvas for network diagrams.
Supports multiple diagram pages with configurable grid settings, background colors, and map sheet parameters for organizing element presentations in MV networks.
Import
python
from pyptp.elements.mv import SheetMVProperties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
general | General | Yes | - | |
comment | Comment | None | No | None |
General
Core properties for MV sheets.
Encompasses identification, display color, and grid configuration including map sheet dimensions and numbering.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
guid | Guid | No | (auto UUID) | |
name | str | No | "" | Name of the sheet tab. |
color | DelphiColor | No | "$F0FBFF" | Background color of the sheet tab. |
coarse_grid_width | int | No | 0 | Major grid width in number of fine grid points (20 pixels each). |
coarse_grid_height | int | No | 0 | Major grid height in number of fine grid points (20 pixels each). |
map_sheet_width | int | No | 0 | Mapping sheet width in number of fine grid points. |
map_sheet_height | int | No | 0 | Mapping sheet height in number of fine grid points. |
map_sheet_grid_width | int | No | 0 | Mapping grid width in number of maps. |
map_sheet_grid_height | int | No | 0 | Mapping grid height in number of maps. |
map_sheet_grid_left | int | No | 0 | Mapping grid left offset in number of maps from upper-left corner. |
map_sheet_grid_top | int | No | 0 | Mapping grid top offset in number of maps from upper-left corner. |
map_sheet_numbering | int | No | 0 | Mapping sheet numbering scheme (left-to-right or top-to-bottom). |
map_sheet_number_offset | int | No | 0 | Number offset added to first map (top-left map gets 1 + offset). |
Referenced Types
Comment
Comment.
Defined in pyptp.elements.mv.shared
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
text | str | No | "" | Comment text content. |