DimensionProperties
Canonical path: NemAll_Python_BasisElements.DimensionProperties
Properties of the dimension line as well as the elevation points.
Methods:
-
__init__–Overloaded function. See individual overloads.
Attributes:
-
AdditionalNumber(float) –Get the Additional number
-
AdditionalNumberIsBold(bool) –Get the FontStyle for Additional Number/BOLD,ITALIC,UNDERLINE/
-
AdditionalNumberIsItalic(bool) –Get the FontStyle for Additional Number/BOLD,ITALIC,UNDERLINE/
-
AdditionalNumberIsUnderline(bool) –Get the FontStyle for Additional Number/BOLD,ITALIC,UNDERLINE/
-
AdditionalNumberIsValid(bool) –Get the Additional number is valid ?
-
AdditionalNumberIsVisible(bool) –Get the Additional number is visible ?
-
AdditionalNumberModifyMode(int) –Get the Add number mode modify (no change, delete, set)
-
AdditionalText(str) –Get the Additional text
-
AdditionalTextIsBold(bool) –Get the FontStyle for Additional Text/BOLD,ITALIC,UNDERLINE/
-
AdditionalTextIsItalic(bool) –Get the FontStyle for Additional Text/BOLD,ITALIC,UNDERLINE/
-
AdditionalTextIsUnderline(bool) –Get the FontStyle for Additional Text/BOLD,ITALIC,UNDERLINE/
-
AdditionalTextIsValid(bool) –Get the Additional text is valid ?
-
AdditionalTextIsVisible(bool) –Get the Additional text is visible ?
-
AdditionalTextModifyMode(int) –Get the Add text mode modify (no change, delete, set)
-
AlignmentBaseOffset(float) –Get the offset
-
Angle(float) –Get the Angle of dimension (horizontal, vertical, diagonal)
-
ArrowLengthType(ENUM_ARROW_LENGTH_TYPE) –Get the brief radius dimension line properties
-
DecimalPlaces(int) –Get the number of places after decimal point
-
DimensionLineIsVisible(bool) –Get the visibility off dimension line
-
DimensionNumberIsBold(bool) –Get the FontStyle for dimension number/BOLD,ITALIC,UNDERLINE/
-
DimensionNumberIsItalic(bool) –Get the FontStyle for dimension number/BOLD,ITALIC,UNDERLINE/
-
DimensionNumberIsUnderline(bool) –Get the FontStyle for dimension number/BOLD,ITALIC,UNDERLINE/
-
DimensionNumberIsVisible(bool) –Get the Dimension number is visible ?
-
ElevationBaseOffset(float) –Get the offset
-
ElevationFirstPointX(float) –Get the X-coordinate of First point in Elevation line
-
ElevationFirstPointY(float) –Get the Y-coordinate of First point in Elevation line
-
ExtensionLineDimensioning(BASIS_DIM_EXTENSION_LINE_DIMENSIONING) –Get the Position of the dimension number at the extension line (used for Pegging out)
-
ExtensionLineType(BASIS_DIM_EXTENSION_LINE_TYPE) –Get the type of extension line
-
FixedLength(float) –Get the < length of radius dimension line (if ArrowLengthType==FIXED_LENGTH)
-
FontIDAdditionalNumber(int) –Get the Font for Additional Number
-
FontIDAdditionalText(int) –Get the Font for Additional Text
-
FontIDDimensionNumber(int) –Get the Font for dimension number
-
IsAbsoluteElevation(bool) –Whether to use the absolute elevation values
-
IsExponentFormat(bool) –Get the use exponent format (Hochzahl)
-
IsFixFraction(bool) –Get the Fix fraction (Fixbruch)
-
IsFreeElevation(bool) –Get the Free elevation
-
IsLineColorFromLayer(bool) –Get the settings from layers three checkboxes on third page in layer dialog
-
IsLineStyleFromLayer(bool) –Get the settings from layers three checkboxes on third page in layer dialog
-
IsPenFromLayer(bool) –Get the settings from layers three checkboxes on third page in layer dialog
-
IsPositiveSign(bool) –Get the Fix fraction (Fixbruch)
-
IsSAAPElevation(bool) –Get the SAAP elevation
-
IsTextOpaque(bool) –Get the Setting is needed for validating extension line length
-
LayerIDDimLine(int) –Get the layer ID for Dimension Line - all part
-
LeadingCharacter(None) –Deprecated: use LeadingCharacters
-
LeadingCharacters(str) –Get the prefix of dimension number/additional number(16)
-
LengthOfExtensionLine(float) –Get the length of extension line(if m_ExtensionLineType==eEXTENSION_LINE_OF_GIVEN_LENGTH )
-
LineColorIDDimLine(int) –Get the line colors Dimension Line
-
LineColorIDExtensionLine(int) –Get the line colors Extension Line
-
LineColorIDNumberText(int) –Get the line colors Number& Text
-
LineColorIDPointSymbol(int) –Get the line colors point symbol
-
LineStyleIDDimLine(int) –Get the line styles Dimension Line
-
LineStyleIDExtensionLine(int) –Get the line styles Extension Line
-
LineStyleIDNumberText(int) –Get the line styles Number& Text
-
LineStyleIDPointSymbol(int) –Get the line styles point symbol
-
MeasuredValueAngleUnit(int) –Get the Angle unit of the measured value
-
MeasuredValueUnit(int) –Get the Unit of the measured value
-
Modified(bool) –Is some of settings modified
-
OptimizationMethod(int) –Get the Optimization Method for texts
-
PenIDDimLine(int) –Get the pens Dimension Line
-
PenIDExtensionLine(int) –Get the pens Extension Line
-
PenIDNumberText(int) –Get the pens Number& Text
-
PenIDPointSymbol(int) –Get the pens point symbol
-
PlusMinusSign(bool) –Get the Draw +- sign before zero number
-
PointSymbol(int) –Get the current selected symbol ID
-
PointSymbolEnd(int) –Get the current selected symbol ID for end point
-
PointSymbolSize(float) –Get the symbol size in mm/zoll
-
PointSymbolStart(int) –Get the current selected symbol ID for start point
-
RotateDimNumber(bool) –Get the rotate dimension number for elevation
-
RotationAngle(float) –Get the rotate angle of dimension number for elevation
-
RoundOffFeet(float) –Get the round of number feet units
-
RoundOffInch(float) –Get the round of number inch units
-
RoundOffNormal(float) –Get the round of number normal units
-
TailingCharacters(str) –Get the sufix of dimension number/additional number(16)
-
TailingZeros(int) –Get the number of zeros after decimal point
-
TextHeightAdditionalNumber(float) –Get the Text data for Additional Number
-
TextHeightAdditionalText(float) –Get the Text data for Additional Tex
-
TextHeightDimensionNumber(float) –Get the Text data for dimension number
-
TextIsEqual(bool) –Get the Text is equal state
-
TextIsFlipped(bool) –Get the check if text is readable from bottom or from right
-
TextIsUpSideDown(bool) –Get the draw text upside-down
-
TextLocation(TextLocation) –The location of the dimension number
-
TextOffset(float) –Get the offset of texts from dimension line
-
TextWidthAdditionalNumber(float) –Get the Text data for Additional Number
-
TextWidthAdditionalNumberFactor(float) –Get the Text data for Additional Number
-
TextWidthAdditionalText(float) –Get the Text data for Additional Tex
-
TextWidthAdditionalTextFactor(float) –Get the Text data for Additional Tex
-
TextWidthDimensionNumber(float) –Get the Text data for dimension number
-
TextWidthDimensionNumberFactor(float) –Get the Text data for dimension number
AdditionalNumberIsBold
property
writable
Get the FontStyle for Additional Number/BOLD,ITALIC,UNDERLINE/
AdditionalNumberIsItalic
property
writable
Get the FontStyle for Additional Number/BOLD,ITALIC,UNDERLINE/
AdditionalNumberIsUnderline
property
writable
Get the FontStyle for Additional Number/BOLD,ITALIC,UNDERLINE/
AdditionalNumberIsValid
property
writable
Get the Additional number is valid ?
AdditionalNumberIsVisible
property
writable
Get the Additional number is visible ?
AdditionalNumberModifyMode
property
writable
Get the Add number mode modify (no change, delete, set)
AdditionalTextIsBold
property
writable
Get the FontStyle for Additional Text/BOLD,ITALIC,UNDERLINE/
AdditionalTextIsItalic
property
writable
Get the FontStyle for Additional Text/BOLD,ITALIC,UNDERLINE/
AdditionalTextIsUnderline
property
writable
Get the FontStyle for Additional Text/BOLD,ITALIC,UNDERLINE/
AdditionalTextIsValid
property
writable
Get the Additional text is valid ?
AdditionalTextIsVisible
property
writable
Get the Additional text is visible ?
AdditionalTextModifyMode
property
writable
Get the Add text mode modify (no change, delete, set)
ArrowLengthType
property
writable
ArrowLengthType: ENUM_ARROW_LENGTH_TYPE
Get the brief radius dimension line properties
DimensionLineIsVisible
property
writable
Get the visibility off dimension line
DimensionNumberIsBold
property
writable
Get the FontStyle for dimension number/BOLD,ITALIC,UNDERLINE/
DimensionNumberIsItalic
property
writable
Get the FontStyle for dimension number/BOLD,ITALIC,UNDERLINE/
DimensionNumberIsUnderline
property
writable
Get the FontStyle for dimension number/BOLD,ITALIC,UNDERLINE/
DimensionNumberIsVisible
property
writable
Get the Dimension number is visible ?
ElevationFirstPointX
property
writable
Get the X-coordinate of First point in Elevation line
ElevationFirstPointY
property
writable
Get the Y-coordinate of First point in Elevation line
ExtensionLineDimensioning
property
writable
ExtensionLineDimensioning: BASIS_DIM_EXTENSION_LINE_DIMENSIONING
Get the Position of the dimension number at the extension line (used for Pegging out)
ExtensionLineType
property
writable
ExtensionLineType: BASIS_DIM_EXTENSION_LINE_TYPE
Get the type of extension line
FixedLength
property
writable
Get the < length of radius dimension line (if ArrowLengthType==FIXED_LENGTH)
FontIDAdditionalNumber
property
writable
Get the Font for Additional Number
FontIDDimensionNumber
property
writable
Get the Font for dimension number
IsAbsoluteElevation
property
writable
Whether to use the absolute elevation values
IsLineColorFromLayer
property
writable
Get the settings from layers three checkboxes on third page in layer dialog
IsLineStyleFromLayer
property
writable
Get the settings from layers three checkboxes on third page in layer dialog
IsPenFromLayer
property
writable
Get the settings from layers three checkboxes on third page in layer dialog
IsTextOpaque
property
writable
Get the Setting is needed for validating extension line length
LeadingCharacters
property
writable
Get the prefix of dimension number/additional number(16)
LengthOfExtensionLine
property
writable
Get the length of extension line(if m_ExtensionLineType==eEXTENSION_LINE_OF_GIVEN_LENGTH )
LineColorIDExtensionLine
property
writable
Get the line colors Extension Line
LineColorIDPointSymbol
property
writable
Get the line colors point symbol
LineStyleIDExtensionLine
property
writable
Get the line styles Extension Line
LineStyleIDPointSymbol
property
writable
Get the line styles point symbol
MeasuredValueAngleUnit
property
writable
Get the Angle unit of the measured value
PointSymbolEnd
property
writable
Get the current selected symbol ID for end point
PointSymbolStart
property
writable
Get the current selected symbol ID for start point
RotateDimNumber
property
writable
Get the rotate dimension number for elevation
RotationAngle
property
writable
Get the rotate angle of dimension number for elevation
TailingCharacters
property
writable
Get the sufix of dimension number/additional number(16)
TextHeightAdditionalNumber
property
writable
Get the Text data for Additional Number
TextHeightAdditionalText
property
writable
Get the Text data for Additional Tex
TextHeightDimensionNumber
property
writable
Get the Text data for dimension number
TextIsFlipped
property
writable
Get the check if text is readable from bottom or from right
TextWidthAdditionalNumber
property
writable
Get the Text data for Additional Number
TextWidthAdditionalNumberFactor
property
writable
Get the Text data for Additional Number
TextWidthAdditionalText
property
writable
Get the Text data for Additional Tex
TextWidthAdditionalTextFactor
property
writable
Get the Text data for Additional Tex
TextWidthDimensionNumber
property
writable
Get the Text data for dimension number
TextWidthDimensionNumberFactor
property
writable
Get the Text data for dimension number
__init__
overloaded
Initialize
__init__(dimProps: DimensionProperties)
__init__(doc: DocumentAdapter, dimensioningType: Dimensioning)
Default constructor
Parameters:
-
doc(DocumentAdapter) –Document adapter
-
dimensioningType(Dimensioning) –Type of the dimensioning (eDimensionLine, eElevation)