SectionAlongPathTextParameterProperties
Canonical path: NemAll_Python_BasisElements.SectionAlongPathTextParameterProperties
Text parameter properties
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
__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
__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