Skip to content

TextMV

Represents a text annotation element for MV networks.

Text elements provide documentation and annotation capabilities for electrical network diagrams, supporting multiple lines and presentation styling.

Inherits from: ExtrasNotesMixin

Import

python
from pyptp.elements.mv import TextMV

Properties

PropertyTypeRequiredDefaultDescription
generalGeneralYes-
lineslist[Line]No[]
presentationslist[Presentation]No[]
extraslist[Extra]No[]
noteslist[Note]No[]

General

Core properties for text annotations.

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
creation_timefloatNo0.0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse

Line

Represents a single line of text content.

PropertyTypeRequiredDefaultDescription
textstrNo""

Presentation

Presentation properties for text display and positioning.

PropertyTypeRequiredDefaultDescription
sheetGuidYes-
xintNo0
yintNo0
text_colorDelphiColorNo"$000000"Color of the text.
text_sizeintNo10Size of the text.
fontstrNo"Arial"
text_styleintNo0
upside_down_textboolNoFalseMakes text upside down when True.

Referenced Types

General

Core properties for text annotations.

Defined in pyptp.elements.mv.text

PropertyTypeRequiredDefaultDescription
guidGuidNo(auto UUID)
creation_timefloatNo0.0
mutation_dateintNo0
revision_dateintNo0
variantboolNoFalse

Line

Represents a single line of text content.

Defined in pyptp.elements.mv.text

PropertyTypeRequiredDefaultDescription
textstrNo""

Presentation

Presentation properties for text display and positioning.

Defined in pyptp.elements.mv.text

PropertyTypeRequiredDefaultDescription
sheetGuidYes-
xintNo0
yintNo0
text_colorDelphiColorNo"$000000"Color of the text.
text_sizeintNo10Size of the text.
fontstrNo"Arial"
text_styleintNo0
upside_down_textboolNoFalseMakes text upside down when True.