SectionAlongPathTextParameterProperties
Canonical path: NemAll_Python_BasisElements.SectionAlongPathTextParameterProperties
Text parameter properties
Classes:
-
TextEmphasis_Enum
–enum for Section type
-
TextPropertiesSource_Enum
–enum for Section type
Methods:
-
DetectBackgroundColorType
–Args:
-
FillPropertiesFromAllplanTextParameters
–Args:
-
__init__
–Overloaded function. See individual overloads.
Attributes:
-
BackgroundColorType
(int
) –Get the when =0 : no background color (transparency), when = 1 color is according to Allplan's view, when = 2, custom defined in CustomBackgroundColor
-
BorderColor
(int
) –Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
-
BorderLineType
(int
) –Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
-
BorderOffset
(int
) –Get the BorderOffset 0 it represents value -1; 4 repres. -0.5; 2 repres. 0.0; 1 repres.1.0; 5 repres. 2.0
-
BorderThickness
(int
) –Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
-
ColumnAngle
(float
) –Get the ColumnAngle
-
CustomBackgroundColor
(int
) –Get the when =0 : no background color (transparency), when = 1 color is according to Allplan's view, when = 2, custom defined in CustomBackgroundColor
-
FontAngle
(float
) –Get the FontAngle //ONLY for italic
-
FontColor
(int
) –Get the ColumnAngle
-
FontEmphasis
(int
) –Get the Font emphasis
-
FontHeight
(float
) –Get the FontHeight
-
FontID
(int
) –Get the FontType
-
FontLayer
(int
) –Get the ColumnAngle
-
FontThickness
(int
) –Get the pen of the text, never serialized, not in standard values, it is a working property only
-
FontWidth
(float
) –Get the FontWidth
-
IsFontColorFromLayer
(bool
) –Get the When False: it means scale dependent
-
IsFontLineTypeFromLayer
(bool
) –Get the When False: it means scale dependent
-
IsFontPenFromLayer
(bool
) –Get the When False: it means scale dependent
-
RowDistance
(float
) –Get the RowDistance //Line spacing
-
TextAngle
(float
) –Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
-
TextParameterID
(TextPropertiesSource_Enum
) –Initialize the class with Usable Values
-
TextParameterId
(int
) –Get the Text parameter ID
-
TextPlacementPointType
(int
) –Get the text placement point, see in NA_Data_TextDefines.h
-
UseBorderAroundTheText
(bool
) –Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
-
UseConstantSizeInLayout
(bool
) –Get the When False: it means scale dependent
BackgroundColorType
property
writable
Get the when =0 : no background color (transparency), when = 1 color is according to Allplan's view, when = 2, custom defined in CustomBackgroundColor
BorderColor
property
writable
Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
BorderLineType
property
writable
Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
BorderOffset
property
writable
Get the BorderOffset 0 it represents value -1; 4 repres. -0.5; 2 repres. 0.0; 1 repres.1.0; 5 repres. 2.0
BorderThickness
property
writable
Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
CustomBackgroundColor
property
writable
Get the when =0 : no background color (transparency), when = 1 color is according to Allplan's view, when = 2, custom defined in CustomBackgroundColor
FontThickness
property
writable
Get the pen of the text, never serialized, not in standard values, it is a working property only
IsFontColorFromLayer
property
writable
Get the When False: it means scale dependent
IsFontLineTypeFromLayer
property
writable
Get the When False: it means scale dependent
IsFontPenFromLayer
property
writable
Get the When False: it means scale dependent
TextAngle
property
writable
Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
TextParameterID
property
writable
TextParameterID: TextPropertiesSource_Enum
Initialize the class with Usable Values
TextPlacementPointType
property
writable
Get the text placement point, see in NA_Data_TextDefines.h
UseBorderAroundTheText
property
writable
Get the rotation of the text in radians, never serialized, not in standard values, it is a working property only
UseConstantSizeInLayout
property
writable
Get the When False: it means scale dependent
TextEmphasis_Enum
Canonical path: NemAll_Python_BasisElements.SectionAlongPathTextParameterProperties.TextEmphasis_Enum
Bases: Enum
enum for Section type
eUVS_ClippingPath : Clipping line with Allplan style symbols eUVS_AdvancedStyleClippingPath: Clipping line with advanced symbols(US Standard) eUVS_USStyleHeading : Heading for sections created with advanced symbols(US Standard) eUVS_USStyleScale : Scale for sections created with advanced symbols(US Standard)
eBold : according to N_FONTSTYLE_BOLD eItalic : according to N_FONTSTYLE_ITALIC eUnderline : according to N_FONTSTYLE_UNDERLINE eStrikethrough : according to N_FONTSTYLE_STRIKETHROUGH
Methods:
-
__getitem__
–get the item for a key
__getitem__
__getitem__(key: str | int | float) -> TextEmphasis_Enum
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
TextEmphasis_Enum
–value for the key
TextPropertiesSource_Enum
Canonical path: NemAll_Python_BasisElements.SectionAlongPathTextParameterProperties.TextPropertiesSource_Enum
Bases: Enum
enum for Section type
eUVS_ClippingPath : Clipping line with Allplan style symbols eUVS_AdvancedStyleClippingPath: Clipping line with advanced symbols(US Standard) eUVS_USStyleHeading : Heading for sections created with advanced symbols(US Standard) eUVS_USStyleScale : Scale for sections created with advanced symbols(US Standard)
eBold : according to N_FONTSTYLE_BOLD eItalic : according to N_FONTSTYLE_ITALIC eUnderline : according to N_FONTSTYLE_UNDERLINE eStrikethrough : according to N_FONTSTYLE_STRIKETHROUGH
Methods:
-
__getitem__
–get the item for a key
__getitem__
__getitem__(key: str | int | float) -> TextPropertiesSource_Enum
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
TextPropertiesSource_Enum
–value for the key
DetectBackgroundColorType
staticmethod
DetectBackgroundColorType(
bHasBgColor: bool, bgColor: int, backgroundIsTransparent: bool
) -> tuple[int, int]
Args: bHasBgColor bgColor backgroundIsTransparent
FillPropertiesFromAllplanTextParameters
FillPropertiesFromAllplanTextParameters(
richTextFlags: int, layerId: int, byLayerFlags: int
) -> object
Args: richTextFlags layerId byLayerFlags
__init__
overloaded
Initialize
constructor
Parameters:
-
iTextParameterID
(int
) –- type of text parameter
-
bInitFromSTW
(bool
, default:False
) –- is structure initialized from standard values
constructor
Parameters:
-
bInitFromSTW
(bool
) –- is structure initialized from standard values
__init__(A: SectionAlongPathTextParameterProperties)
copy constructor