Skip to content

FrameMV

Frame element for MV networks.

Inherits from: DataClassJsonMixin

Import

python
from pyptp.elements.mv import FrameMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
presentationslist[FramePresentation]Yes-
lineslist[str]No[]
geo_serieslist[Geography]No[]
extraslist[Extra]No[]

FramePresentation

Visual presentation properties for displaying the frame on a sheet.

Controls the graphical appearance including shape, colors, line style, text formatting, and positioning on the network diagram.

PropertyTypeRequiredDefaultDescription
sheetGuidNoNIL_GUIDSheet GUID where this presentation is displayed.
sortFrameShapeNoRECTANGLEFrame shape type.
name_xintNo0X offset of the name text relative to object.
name_yintNo0Y offset of the name text relative to object.
filledboolNoFalseWhether the frame interior is filled with a background color.
fill_colorDelphiColorNo"$FF0000"Background fill color when filled is True.
image_sizeintNo100Scaling factor for the background image (100 = original size).
colorDelphiColorNo"$FF0000"Border/outline color of the frame.
widthintNo1Line width of the frame border.
styleLineStyleNoSOLIDLine style for the frame border.
text_colorDelphiColorNo"$000000"Color of the frame's text label.
text_sizeintNo10Font size for the frame's text label.
fontstrNo"Arial"Font family for the frame's text label.
text_styleintNo0Font style flags (bold, italic, etc.).
no_textboolNoFalseHides all text when True.
upside_down_textboolNoFalseMakes text upside down when True.
strings_xintNo0X offset of the strings text relative to object.
strings_yintNo0Y offset of the strings text relative to object.
first_cornerslist[tuple]No[]

General

General properties for frame.

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
creation_timefloatNo0.0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse
namestrNo""
containerboolNoFalse
imagestrNo""

Referenced Types

General

General properties for frame.

Defined in pyptp.elements.mv.frame

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
creation_timefloatNo0.0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse
namestrNo""
containerboolNoFalse
imagestrNo""

FramePresentation

Visual presentation properties for displaying the frame on a sheet.

Controls the graphical appearance including shape, colors, line style, text formatting, and positioning on the network diagram.

Defined in pyptp.elements.mv.frame

PropertyTypeRequiredDefaultDescription
sheetGuidNoNIL_GUIDSheet GUID where this presentation is displayed.
sortFrameShapeNoRECTANGLEFrame shape type.
name_xintNo0X offset of the name text relative to object.
name_yintNo0Y offset of the name text relative to object.
filledboolNoFalseWhether the frame interior is filled with a background color.
fill_colorDelphiColorNo"$FF0000"Background fill color when filled is True.
image_sizeintNo100Scaling factor for the background image (100 = original size).
colorDelphiColorNo"$FF0000"Border/outline color of the frame.
widthintNo1Line width of the frame border.
styleLineStyleNoSOLIDLine style for the frame border.
text_colorDelphiColorNo"$000000"Color of the frame's text label.
text_sizeintNo10Font size for the frame's text label.
fontstrNo"Arial"Font family for the frame's text label.
text_styleintNo0Font style flags (bold, italic, etc.).
no_textboolNoFalseHides all text when True.
upside_down_textboolNoFalseMakes text upside down when True.
strings_xintNo0X offset of the strings text relative to object.
strings_yintNo0Y offset of the strings text relative to object.
first_cornerslist[tuple]No[]