MKI_DIMLARGE (Entity Data Classes) Changed in Version 2022.1 |
www.CAD6.com |
C++ Syntaxclass MKI_DIMLARGE : public MKI_DIMSMALL { public:
bool m_fNumCentered; __int32 m_nNumPlacing, m_nArrowStartForm, m_nArrowStartMode, m_nArrowEndForm, m_nArrowEndMode; bool m_fExtStartDisplay, m_fExtEndDisplay, m_fLineDisplay; __int32 m_nLineOrientation, m_nLineType, m_nLineDistMode; double m_dLineDistance, m_dLineStartOffset, m_dLineEndOffset;
void InitLarge( void );
bool IsIdenticalLarge( const MKI_DIMLARGE& f_rData ) const; New in Version 2022.1 };
This structure contains settings for a dimension with dimension line.
Element DescriptionTextFont [MKI_FONTDEF] Description of the font to be used for the dimension texts (dimension and tolerances). TextXProperty [MKI_XPROPERTY] Properties for the dimension texts (dimension and tolerances). The properties of the entity itself are only valid for dimension line and dimension arrow. TextSize1 [double] Font size of the dimension in mm. TextSize2 [double] Font size of the tolerences in mm. CharDistance [double] The value CharDistance determines the gap between two characters. This gap is stated relative to the font size. A value of 0.1 at a font size of 10pt will result in a character gap of 1pt. Allowed values are -10.0 to +10.0. The default value for TrueType and device fonts should be 0.0, for internal fonts 0.125. TabDistance [double] The value TabDistance determines the distance between two tabulators. This distance is stated relative to the font size. A value of 4.0 at a font size of 5 mm will result in a tabulator distance of 20 mm. Allowed values are -100.0 to 100.0. The default value is 4.0. TextMode [__int32] The value TextMode states the position of the text relative to the insertion point (see MKI_TEXTMODE_*). Block mode is not supported. TextVertical New in Version 6.50 [__int32] The value TextVertical states the vertical position of the text relative to the insertion point (see MKI_TEXTVERTICAL_*). TextOrder [__int32] The value TextOrder defines the reading order of the text, i.e. it determines the direction in which the characters are placed (see MKI_TEXTORDER_*). NumMode [__int32] The value NumMode determines how dimension numbers are to be displayed (see MKI_FRACTION_*). NumPrecision [__int32] The value NumPrecision determines the precision of the dimension's display. If numeric values are displayed as decimal numbers, this value determines the number of fractional digits. The value may be between 0 (no fractional digit) and 14 (fourteen fractional digits). Whether trailing zeros will be displayed or not depends of user-dependent settings in the application. If numeric values are displayed as fractional numbers, this value determines the maximum power of two that the denominator will have. The value may be between 0 (no fraction) and 14 (maximum denominator 16384). The resulting fraction will be reduced. If the numeric value is 2.1, the resulting fraction will be 2 3/32 for a NumPrecision of 6 and 2 51/512 for a NumPrecision of 9. NumRefresh [__int32] The value NumRefresh determines how the dimension shall be (re-)calculated (see MKI_NUMREFRESH_*). NumRotate [__int32] The value NumRotate determines how the dimension number shall be rotated (sse MKI_NUMROTATE_*). System [__int32] Index of the coordinate system the dimension shall be based on. If this coordinate system is set to a distorting display (isometric or dimetric), the dimension will be calculated accordingly. DimFlag New in Version 6.51 [__int32] The usage of this value depends on the object type the data block is defined in. Please refer to the description of the corresponding object type for detailed information. Unused New in Version 6.50 [__int32] Currently unused space for future extensions, must not be used! NumCentered [bool] The value NumCentered determines whether the dimension number shall always be placed centered to the dimension line or not. Possible values are:
If both NumPlacing and NumCentered are non-zero, first the calculation of NumCentered is executed, the calculation of NumPlacing. NumPlacing [__int32] Determines whether the dimension number shall always be placed tight to the dimension line or not (see MKI_NUMPLACING_*). If both NumPlacing and NumCentered are non-zero, first the calculation of NumCentered is executed, then the calculation of NumPlacing. ArrowStartForm [__int32] The value ArrowStartForm determines the form of the dimension arrow at the start-point of the dimension line (see MKI_ARROWFORM_*). ArrowStartMode [__int32] The value ArrowStartMode determines whether the dimension ends at the dimension's start-point or whether it is extended (see MKI_ARROWMODE_*). ArrowEndForm [__int32] Equivalent to ArrowStartForm, but referring to the end-point (see MKI_ARROWFORM_*): ArrowEndMode [__int32] Equivalent to ArrowStartMode, but referring to the end-point (see MKI_ARROWMODE_*). ExtStartDisplay [bool] Determines whether the dimension extension line at the start-point of the dimension shall be drawn or not. Possible values are:
ExtEndDisplay [bool] Determines whether the dimension extension line at the end-point of the dimension shall be drawn or not. Possible values are:
LineDisplay [bool] Determines whether to display dimension line and dimension extension line at all or not. Possible values are:
LineOrientation, LineDimType, LineDistMode [__int32] The usage of these values depends on the object type the data block is defined in. Please refer to the description of the corresponding object type for detailed information. LineDistance [double] This value determines the distance between the dimension line and corresponding object in mm. It will only be used if LineDistMode is set to a non-zero value. LineStartOffset [double] This value determines the offset between the dimension extension line at the start-point of the dimension and corresponding object in mm. LineEndOffset [double] This value determines the offset between the dimension extension line at the end-point of the dimension and corresponding object in mm.
MKD SyntaxA data block of type MKI_DB_INFO_DIMLARGE (225) is used to store the parameters for dimensions that include dimension lines (like distance, radius, diameter and angle).
TextFont,TextXProperty, TextSize1,TextSize2,CharDistance,TabDistance, TextMode,TextVertical,TextOrder, NumMode,NumPrecision,NumRefresh,NumCentered,NumPlacing,NumRotate, ArrowStartForm,ArrowStartMode,ArrowEndForm,ArrowEndMode, ExtStartDisplay,ExtEndDisplay,LineDisplay, LineOrientation,LineType,LineDistMode,LineDistance, LineStartOffset,LineEndOffset,System,Dimflag
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH