Skip to content

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 SheetMV

Properties ​

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
commentComment | NoneNoNone

General ​

Core properties for MV sheets.

Encompasses identification, display color, and grid configuration including map sheet dimensions and numbering.

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
namestrNo""Name of the sheet tab.
colorDelphiColorNo"$F0FBFF"Background color of the sheet tab.
coarse_grid_widthintNo0Major grid width in number of fine grid points (20 pixels each).
coarse_grid_heightintNo0Major grid height in number of fine grid points (20 pixels each).
map_sheet_widthintNo0Mapping sheet width in number of fine grid points.
map_sheet_heightintNo0Mapping sheet height in number of fine grid points.
map_sheet_grid_widthintNo0Mapping grid width in number of maps.
map_sheet_grid_heightintNo0Mapping grid height in number of maps.
map_sheet_grid_leftintNo0Mapping grid left offset in number of maps from upper-left corner.
map_sheet_grid_topintNo0Mapping grid top offset in number of maps from upper-left corner.
map_sheet_numberingintNo0Mapping sheet numbering scheme (left-to-right or top-to-bottom).
map_sheet_number_offsetintNo0Number offset added to first map (top-left map gets 1 + offset).

Referenced Types ​

Comment ​

Comment.

Defined in pyptp.elements.mv.shared

PropertyTypeRequiredDefaultDescription
textstrNo""Comment text content.