/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2016, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Teigha(R) software pursuant to a license // agreement with Open Design Alliance. // Teigha(R) Copyright (C) 2002-2016 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// #ifndef BLKVAR_DEF #define BLKVAR_DEF VAR_DEF #endif #ifndef ANNOVAR_DEF #define ANNOVAR_DEF VAR_DEF #endif #ifndef ODTDB_LINEWEIGHT #define ODTDB_LINEWEIGHT OdDb::LineWeight /*!DOM*/ #define DOUNDEF_ODTDB_LINEWEIGHT #endif #ifndef ODTDIST #define ODTDIST double /*!DOM*/ #define DOUNDEF_ODTDIST #endif #ifndef ODTORIENT #define ODTORIENT double /*!DOM*/ #define DOUNDEF_ODTORIENT #endif #ifndef ODTUNITLESS #define ODTUNITLESS double /*!DOM*/ #define DOUNDEF_ODTUNITLESS #endif #ifndef ODTDECSEP #define ODTDECSEP OdInt16 /*!DOM*/ #define DOUNDEF_ODTDECSEP #endif #ifndef ODTARROWBLK #define ODTARROWBLK OdDbHardPointerId /*!DOM*/ #define DOUNDEF_ODTARROWBLK #endif #ifndef ODTTEXTSTYLEID #define ODTTEXTSTYLEID OdDbHardPointerId /*!DOM*/ #define DOUNDEF_ODTTEXTSTYLEID #endif #ifndef ODTLINETYPEID #define ODTLINETYPEID OdDbHardPointerId /*!DOM*/ #define DOUNDEF_ODTLINETYPEID #endif #ifndef NullIdAllowed #define NullIdAllowed true #define DOUNDEF_NullIdAllowed #endif /** ********************************************** * * Dimension variables definitions */ // Type Name DXF Default value Metric Def Value Reserve1 Reserve2 /** * VARDOCS: "\n DIMADEC specifies the number of decimal places in angular dimensions." */ VAR_DEF(OdInt16, adec, 179, (0), (0), (), ValidateRange(0, 8)) /** * VARDOCS: "\n DIMALT controls the display of alternate measurements in dimensions." "\n" "\n @table" "\n Value Description" "\n false Disabled" "\n true Enabled" */ VAR_DEF(bool, alt, 170, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMALTD specifies the number of decimal places in alternate measurements in dimensions." */ VAR_DEF(OdUInt16, altd, 171, (2), (3), (), ValidateRange(0,8)) /** * VARDOCS: "\n DIMALTF specifies the distance multiplier for alternate measurements in dimensions." */ VAR_DEF(double, altf, 143, (25.4), (0.03937007874016), (), ValidateRange(DBL_MIN, DBL_MAX)) /** * VARDOCS: "\n DIMALTRND specifies the rounding of alternate measurements in dimensions." "\n" "\n If DIMALTRND == 0.0, no rounding is performed." */ VAR_DEF(ODTDIST, altrnd, 148, (0.0), (0.0), (), ValidateRange(0,DBL_MAX)) /** * VARDOCS: "\n DIMALTTD specifies the number of decimal places in tolerance values in alternate measurements in dimensions." */ VAR_DEF(OdInt16, alttd, 274, (2), (3), (), ValidateRange(0,8)) /** * VARDOCS: "\n DIMALTTZ controls zero suppression in tolerance values in alternate measurements in dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Suppress zero feet and exactly zero inches." "\n 1 Include zero feet and exactly zero inches." "\n 2 Include zero feet and suppress exactly zero inches." "\n 3 Suppress zero feet and include exactly zero inches." "\n 4 Suppress leading decimal zeros." "\n 8 Suppress trailing decimal zeros. "\n 12 Suppress leading and trailing decimal zeros. "\n" "\n Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12." */ VAR_DEF(OdUInt8, alttz, 286, (0), (0), (), ValidateRange(0,15)) /** * VARDOCS: "\n DIMALTU controls the formatting for alternate units in dimensions." "\n" "\n @table" "\n Value Description" "\n 1 Scientific" "\n 2 Decimal" "\n 3 Engineering" "\n 4 Architectural (stacked)" "\n 5 Fractional (stacked)" "\n 6 Architectural" "\n 7 Fractional" "\n 8 Microsoft Windows Desktop" */ VAR_DEF(OdInt16, altu, 273, (2), (2), (), ValidateRange(1,8)) /** * VARDOCS: "\n DIMALTZ controls zero suppression in alternate measurements in dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Suppress zero feet and exactly zero inches." "\n 1 Include zero feet and exactly zero inches." "\n 2 Include zero feet and suppress exactly zero inches." "\n 3 Suppress zero feet and include exactly zero inches." "\n 4 Suppress leading decimal zeros." "\n 8 Suppress trailing decimal zeros." "\n 12 Suppress leading and trailing decimal zeros." "\n" "\n Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12." */ VAR_DEF(OdUInt8, altz, 285, (0), (0), (), ValidateRange(0,15)) /** * VARDOCS: "\n DIMAPOST specifies a prefix and/or suffix for alternate measurement text in dimensions." "\n" "\n DIMAPOST is in the form prefix<>suffix. " "\n" "\n The '<>' in DIMAPOST is replaced by the alternate measurement text." */ VAR_DEF(OdString, apost, 4, (OD_T("")), (OD_T("")), (), ValidateNone()) /** * VARDOCS: "\n DIMASZ specifies the arrowhead size for dimensions." */ VAR_DEF(ODTDIST, asz, 41, (0.18), (2.5), (), ValidateRange(0,DBL_MAX)) /** * VARDOCS: "\n DIMATFIT specifies how arrows and text are placed when they do not fit" " within the extension lines of dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Moves text and arrows outside extension lines." "\n 1 Moves arrows, then text, outside extension lines." "\n 2 Moves text, then arrows, outside extension lines." "\n 3 Moves text or arrows for best fit." When DIMTMOVE == 1, a leader is added to moved text. */ ANNOVAR_DEF(OdInt16, atfit, 289, (3), (3), (), ValidateRange(0,3)) /** * VARDOCS: "\n DIMAUNIT specifies the formatting for units in angular dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Decimal Degrees" "\n 1 Degrees-Minutes-Seconds" "\n 2 Gradians" "\n 3 Radians" "\n 4 Surveyor's Units" */ VAR_DEF(OdInt16, aunit, 275, (0), (0), (), ValidateRange(0,4)) /** * VARDOCS: "\n DIMAZIN controls zero suppression in angular dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Display leading and trailing decimal zeros." "\n 1 Suppress leading decimal zeros." "\n 2 Suppress trailing decimal zeros." "\n 3 Suppress leading and trailing decimal zeros." */ VAR_DEF(OdInt16, azin, 79, (0), (0), (), ValidateRange(0,3)) /** * VARDOCS: "\n DIMBLK specifies the arrowhead block at the ends of dimension lines and leader lines." "\n" "\n A null value specifies the default arrowhead is to be used." */ BLKVAR_DEF(ODTARROWBLK, blk, 342, (OdDbObjectId::kNull),(OdDbObjectId::kNull),(), ValidateDimBlock()) /** * VARDOCS: "\n DIMBLK1 specifies the first arrowhead block of dimension lines when DIMSAH == true." "\n" "\n A null value specifies the default arrowhead is to be used." */ BLKVAR_DEF(ODTARROWBLK, blk1, 343, (OdDbObjectId::kNull),(OdDbObjectId::kNull),(), ValidateDimBlock()) /** * VARDOCS: "\n DIMBLK2 specifies the second arrowhead block of dimension lines when DIMSAH == true." "\n" "\n A null value specifies the default arrowhead is to be used." */ BLKVAR_DEF(ODTARROWBLK, blk2, 344, (OdDbObjectId::kNull),(OdDbObjectId::kNull),(), ValidateDimBlock()) /** * VARDOCS: "\n DIMCEN controls the generation of arc and circle center marks and lines." "\n" "\n The absolute value of DIMCEN specifies the size of the center mark, which half the length of the center mark," "\n which is also the length of the portion of a center line beyond the arc or circle, as well as" "\n the length of the gap between the center mark and line." "\n" "\n The sign of DIMCEN controls the generation of center marks and center lines:" "\n" "\n @table" "\n Value Description" "\n < 0 Center marks and center lines" "\n 0 No center marks or center lines" "\n > 0 Center marks" */ VAR_DEF(ODTDIST, cen, 141, (0.09), (2.5), (), ValidateNone()) /** * VARDOCS: "\n DIMCLRD specifies the color of dimension lines, leader lines, frames, and arrowheads." */ VAR_DEF(OdCmColor, clrd, 176,(OdCmEntityColor::kByBlock),(OdCmEntityColor::kByBlock),(),ValidateColor()) /** * VARDOCS: "\n DIMCLRE specifies the color of extension lines." */ VAR_DEF(OdCmColor, clre, 177,(OdCmEntityColor::kByBlock),(OdCmEntityColor::kByBlock),(),ValidateColor()) /** * VARDOCS: "\n DIMCLRT specifies the color of dimension text." */ VAR_DEF(OdCmColor, clrt, 178,(OdCmEntityColor::kByBlock),(OdCmEntityColor::kByBlock),(),ValidateColor()) /** * VARDOCS: "\n DIMDEC specifies the number of decimal places in primary units in dimensions." */ VAR_DEF(OdInt16, dec, 271, (4), (2), (), ValidateRange(0,8)) /** * VARDOCS: "\n DIMDLE specifies the distance dimension lines extend beyond extension lines when" "\n arrowheads are architectural, integral, oblique, tick, or none." "\n" "\n DIMTSZ" */ VAR_DEF(ODTDIST, dle, 46, (0.0), (0.0), (), ValidateRange(0,DBL_MAX)) /** * VARDOCS: "\n DIMDLI specifies distance between dimension lines for baseline dimensions." */ VAR_DEF(ODTDIST, dli, 43, (0.38), (3.75), (), ValidatePositive()) /** * VARDOCS: "\n DIMDSEP specifies the decimal separator for dimensions." */ VAR_DEF(ODTDECSEP, dsep, 278, ('.'), (','), (), ValidateDecSep()) /** * VARDOCS: "\n DIMEXE specifies the distance extension lines extend beyond dimension lines." */ VAR_DEF(ODTDIST, exe, 44, (0.18), (1.25), (), ValidatePositive()) /** * VARDOCS: "\n DIMEXO specifies the distance extension are offset from their origin points." "\n" "\n DIMEXO specifies a minimum value when fixed-length extension lines are used." */ VAR_DEF(ODTDIST, exo, 42, (0.0625), (0.625), (), ValidatePositive()) /** * VARDOCS: "\n DIMFRAC specifies the fraction format when DIMLUNIT == 4 or 5." "\n" "\n @table" "\n Value Description" "\n 0 Horizontal Stacked." "\n 1 Diagonal Stacked." "\n 2 Not Stacked." */ VAR_DEF(OdInt16, frac, 276, (0), (0), (), ValidateRange(0,2)) /** * VARDOCS: "\n DIMGAP specifies the gap between dimension text and dimension lines." "\n" "\n A negative value for DIMGAP draws a reference box round the dimension text." "\n" "\n Text is placed inside a dimension line only if there will be two line segments" "\n each as long as abs(DIMGAP)." */ VAR_DEF(ODTDIST, gap, 147, (0.09), (0.625), (), ValidateNone()) /** * VARDOCS: "\n DIMJUST specifies the dimension text horizontal position." "\n" "\n @table" "\n Value Description" "\n 0 Centered above the dimension line." "\n 1 By the first extension line." "\n 2 By the second extension line." "\n 3 Above the dimension line, parallel to the first extension line." "\n 4 Above the dimension line, parallel to the second extension line." */ VAR_DEF(OdUInt16, just, 280, (0), (0), (), ValidateRange(0,4)) /** * VARDOCS: "\n DIMLDRBLK specifies the arrowhead block at the ends of leader lines." "\n" "\n A null value specifies the default arrowhead is to be used." */ VAR_DEF(ODTARROWBLK, ldrblk, 341, (OdDbObjectId::kNull),(OdDbObjectId::kNull),(), ValidateDimBlock()) /** * VARDOCS: "\n DIMLFAC specifies the distance multiplier for measurements in dimensions." */ VAR_DEF(double, lfac, 144, (1.0), (1.0), (), ValidateNone()) /** * VARDOCS: "\n DIMLIM controls the display of dimension limits." "\n" "\n @table" "\n Value Description" "\n false Disabled." "\n true Enabled." */ VAR_DEF(bool, lim, 72, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMLUNIT specifies the formatting for units in non-angular dimensions." "\n" "\n @table" "\n Value Description" "\n 1 Scientific" "\n 2 Decimal" "\n 3 Engineering" "\n 4 Architectural (stacked)" "\n 5 Fractional (stacked)" "\n 6 Microsoft Windows Desktop" */ VAR_DEF(OdInt16, lunit, 277, (2), (2), (), ValidateRange(1,6)) /** * VARDOCS: "\n DIMLWD specifies the lineweight for dimension lines." */ VAR_DEF(ODTDB_LINEWEIGHT, lwd, 371, (OdDb::kLnWtByBlock), (OdDb::kLnWtByBlock), (), ValidateLineWeight()) /** * VARDOCS: "\n DIMLWE specifies the lineweight for extension lines." */ VAR_DEF(ODTDB_LINEWEIGHT, lwe, 372, (OdDb::kLnWtByBlock), (OdDb::kLnWtByBlock), (), ValidateLineWeight()) /** * VARDOCS: "\n DIMPOST specifies a prefix and/or suffix for the measurement text in dimensions." "\n" "\n DIMPOST is in the form prefix<>suffix. " "\n" "\n The '<>' in DIMPOST is replaced by the measurement text." */ VAR_DEF(OdString, post, 3, (OD_T("")), (OD_T("")), (), ValidateNone()) /** * VARDOCS: "\n DIMRND specifies the rounding of measurements text." "\n" "\n If DIMRND == 0, no rounding is performed." */ VAR_DEF(ODTDIST, rnd, 45, (0.0), (0.0), (), ValidatePositive()) /** * VARDOCS: "\n DIMSAH controls the generation of separate arrowheads for dimension lines." "\n" "\n @table" "\n Value Arrowhead Blocks" "\n false DIMBLK" "\n true DIMBLK1 and DIMBLK2" */ VAR_DEF(bool, sah, 173, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMSCALE is an scale factor applied to all dimension variables that" "\n regulate sizes, offsets, and distances." "\n" "\n DIMSCALE serves as an overall \"volume control\" for dimensions" "\n and leaders." "\n" "\n @table" "\n Value Description" "\n 0.0 A \"reasonable\" value is computed for model space viewports." "\n > 0.0 If set to the inverse of the plot scale, plotted dimensions will" " be at the sizes specified by the other dimension variables." */ VAR_DEF(double, scale, 40, (1.0), (1.0), (), ValidatePositive()) /** * VARDOCS: "\n DIMSD1 controls the suppression of the first dimension line and arrowhead in dimensions." "\n" "\n @table" "\n Value Description" "\n false Not suppressed" "\n true Suppressed" */ VAR_DEF(bool, sd1, 281, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMSD2 controls the suppression of the second dimension line and arrowhead in dimensions." "\n" "\n @table" "\n Value Description" "\n false Not suppressed" "\n true Suppressed." */ VAR_DEF(bool, sd2, 282, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMSE1 controls the suppression of the first extension line in dimensions." "\n" "\n @table" "\n Value Description" "\n false Not suppressed" "\n true Suppressed." */ VAR_DEF(bool, se1, 75, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMSE2 controls the suppression of the second extension line in dimensions." "\n" "\n @table" "\n Value Description" "\n false Not suppressed" "\n true Suppressed." */ VAR_DEF(bool, se2, 76, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMSOXD controls the suppression of dimension lines outside the extension lines." "\n" "\n @table" "\n Value Description" "\n false Not suppressed" "\n true Suppressed." */ ANNOVAR_DEF(bool, soxd, 175, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMTAD specifies the dimension text vertical position." "\n" "\n @table" "\n Value Description" "\n 0 Centered about the dimension line." "\n 1 Above the dimension line, unless DIMTIH==1 and the dimension line is not horizontal." "\n 2 Side of the dimension line farthest from the defining points." "\n 3 JIS standard." "\n 4 Text below the dimension line" */ VAR_DEF(OdInt16, tad, 77, (0), (1), (), ValidateRange(0,4)) /** * VARDOCS: "\n DIMTDEC specifies the number of decimal places in tolerance values for primary units in dimensions." */ VAR_DEF(OdInt16, tdec, 272, (4), (2), (), ValidateRange(0,8)) /** * VARDOCS: "\n DIMTFAC specifies, as a factor of DIMTXT, the size of tolerance and fraction text in dimensions." */ VAR_DEF(double, tfac, 146, (1.0), (1.0), (), ValidatePositiveNonZero()) /** * VARDOCS: "\n DIMTIH controls the orientation of dimension text inside the extension lines." "\n" "\n @table" "\n Value Description" "\n false Aligned with dimension line." "\n true Horizontal." */ VAR_DEF(bool, tih, 73, (true), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMTIX controls the placement of dimension text inside the extension lines." "\n" "\n @table" "\n Value Description" "\n false Inside extension lines if there is room." "\n true Inside extension lines." */ ANNOVAR_DEF(bool, tix, 174, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMTM specifies the negative of the lower tolerance limit for dimensions." */ VAR_DEF(ODTDIST, tm, 48, (0.0), (0.0), (), ValidateNone()) /** * VARDOCS: "\n DIMTMOVE specifies the movement rules for dimension text." "\n" "\n @table" "\n Value Description" "\n 0 Moving dimension text moves the dimension line." "\n 1 Moving dimension text adds a leader." "\n 2 Moving dimension text does not add a leader." */ ANNOVAR_DEF(OdInt16, tmove, 279, (0), (0), (), ValidateRange(0,2)) /** * VARDOCS: "\n DIMTOFL controls the drawing of dimension lines between extension lines" "\n when text is outside the dimension lines." "\n" "\n @table" "\n Value Description" "\n false Disabled." "\n true Enabled." */ ANNOVAR_DEF(bool, tofl, 172, (false), (true), (), ValidateNone()) /** * VARDOCS: "\n DIMTOH controls the orientation of dimension text outside the extension lines." "\n" "\n @table" "\n Value Description" "\n false Aligned with dimension line." "\n true Horizontal." */ VAR_DEF(bool, toh, 74, (true), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMTOL controls the generation of tolerance text in dimensions." "\n" "\n @table" "\n Value Description" "\n false Disabled." "\n true Enabled." */ VAR_DEF(bool, tol, 71, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMTOLJ controls the vertical justification of tolerance values with respect to the nominal dimension text." "\n" "\n @table" "\n Value Description" "\n 0 Bottom" "\n 1 Middle" "\n 2 Top" */ VAR_DEF(OdUInt8, tolj, 283, (1), (0), (), ValidateRange(0,2)) /** * VARDOCS: "\n DIMTP specifies the upper tolerance limit for dimensions." */ VAR_DEF(ODTDIST, tp, 47, (0.0), (0.0), (), ValidateNone()) /** * VARDOCS: "\n DIMTSZ specifies the size of architectural tics are " "\n to be drawn instead of arrowheads for linear, radial, and diameter dimensions." "\n" "\n DIMTSZ is the distance, parallel to the dimension line," "\n that the tics extends beyond the extension lines." "\n" "\n @table" "\n Value Description" "\n 0.0 Arrowheads" "\n > 0.0 Tics" "\n DIMDLE" */ VAR_DEF(ODTDIST, tsz, 142, (0.0), (0.0), (), ValidatePositive()) /** * VARDOCS: "\n DIMTVP specifies, as a factor of DIMTXT, the vertical distance of the middle" "\n of the dimension text with respect to the dimension line." */ VAR_DEF(double, tvp, 145, (0.0), (0.0), (), ValidateNone()) /** * VARDOCS: "\n DIMTXSTY specifies the text style of the dimension text." */ VAR_DEF(ODTTEXTSTYLEID, txsty, 340, (OdDbObjectId::kNull),(OdDbObjectId::kNull),(), ValidateTextStyle(NullIdAllowed)) /** * VARDOCS: "\n DIMTXT specifies the size of the dimension text." */ VAR_DEF(ODTDIST, txt, 140, (0.18), (2.5), (), ValidatePositiveNonZero()) /** * VARDOCS: "\n DIMTZIN controls zero suppression in tolerance values in linear dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Suppress zero feet and exactly zero inches." "\n 1 Include zero feet and exactly zero inches." "\n 2 Include zero feet and suppress exactly zero inches." "\n 3 Suppress zero feet and include exactly zero inches." "\n 4 Suppress leading decimal zeros." "\n 8 Suppress trailing decimal zeros. "\n 12 Suppress leading and trailing decimal zeros. "\n" "\n Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12." */ VAR_DEF(OdUInt8, tzin, 284, (0), (8), (), ValidateRange(0,15)) /** * VARDOCS: "\n DIMUPT controls the movement of user-positioned text when dimension lines are moved." "\n" "\n @table" "\n Value Description" "\n false Moves only the dimension line." "\n true Moves the dimension line and the text." */ VAR_DEF(bool, upt, 288, (false), (false), (), ValidateNone()) /** * VARDOCS: "\n DIMZIN controls zero suppression in linear dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Suppress zero feet and exactly zero inches." "\n 1 Include zero feet and exactly zero inches." "\n 2 Include zero feet and suppress exactly zero inches." "\n 3 Suppress zero feet and include exactly zero inches." "\n 4 Suppress leading decimal zeros." "\n 8 Suppress trailing decimal zeros. "\n 12 Suppress leading and trailing decimal zeros. "\n" "\n Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12." */ VAR_DEF(OdUInt8, zin, 78, (0), (8), (), ValidateRange(0,15)) //--------------------------------------------new in R21------------------------------------------------------ /** * VARDOCS: "\n DIMFXL specifies the fixed length of extension lines from" "\n the dimension line towards the dimension origin." "\n" "\n DIMFXL is ignored when DIMFXLON == false. */ VAR_DEF(ODTDIST, fxl, 49, (1.0), (1.0), (), ValidateNone()) /** * VARDOCS: "\n DIMFXLON controls the generation of fixed-length extension lines." "\n" "\n @table" "\n Value Description" "\n false Variable length." "\n true Fixed length." "\n DIMFXL" */ VAR_DEF(bool, fxlon, 290, (false), (false), (), ValidateBOOL()) /** * VARDOCS: "\n DIMJOGANG specifies the jog angle of dimension lines in jogged radius dimensions." "\n All angles are expressed in radians." */ VAR_DEF(ODTORIENT, jogang, 50, (OdaPI4), (OdaPI4), (), ValidateDouble( 5.0*OdaPI/180.0, OdaPI2)) /** * VARDOCS: "\n DIMTFILL specifies the background fill of dimension text." "\n" "\n @table" "\n Value Description" "\n 0 No fill." "\n 1 Drawing background color." "\n 2 Color specified by DIMTFILLCLR." "\n DIMTFILLCLR" */ VAR_DEF(OdInt16, tfill, 69, (0), (0), (), ValidateRange(0, 2)) /** * VARDOCS: "\n DIMTFILLCLR specifies the background fill color for dimension text when DIMTFILL == 2." "\n DIMTFILL" */ VAR_DEF(OdCmColor, tfillclr, 70, (OdCmEntityColor::kByBlock), (OdCmEntityColor::kByBlock), (), ValidateNone()) /** * VARDOCS: "\n DIMARCSYM specifies the placement of arc symbols in arc length dimensions." "\n" "\n @table" "\n Value Description" "\n 0 Before the dimension text." "\n 1 Above the dimension text." "\n 2 Not displayed." */ VAR_DEF(OdInt16, arcsym, 90, (0), (0), (), ValidateRange(0, 2)) /** * VARDOCS: "\n DIMLTYPE specifies the linetype of dimension lines." */ VAR_DEF(ODTLINETYPEID, ltype, 345, (OdDbObjectId::kNull), (OdDbObjectId::kNull), (), ValidateLinetype(true)) /** * VARDOCS: "\n DIMLTEX1 specifies the linetype of first extension lines." */ VAR_DEF(ODTLINETYPEID, ltex1, 346, (OdDbObjectId::kNull), (OdDbObjectId::kNull), (), ValidateLinetype(true)) /** * VARDOCS: "\n DIMLTEX2 specifies the linetype of the second extension lines." */ VAR_DEF(ODTLINETYPEID, ltex2, 347, (OdDbObjectId::kNull), (OdDbObjectId::kNull), (), ValidateLinetype(true)) //--------------------------------------------new in R24------------------------------------------------------ /** * VARDOCS: "\n DIMTXTDIRECTION controls the text direction." "\n" "\n @table" "\n Value Description" "\n false " "\n true " "\n DIMTXTDIRECTION" */ VAR_DEF(bool, txtdirection, 294, (false), (false), (), ValidateBOOL()) /** * VARDOCS: "\n DIMMZF." */ VAR_DEF(double, mzf, 297, (100.0), (100.0), (), ValidateNone()) /** * VARDOCS: "\n DIMMZS." */ VAR_DEF(OdString, mzs, 298, (OD_T("")), (OD_T("")), (), ValidateNone()) /** * VARDOCS: "\n DIMALTMZF." */ VAR_DEF(double, altmzf, 295, (100.0), (100.0), (), ValidateNone()) /** * VARDOCS: "\n DIMALTMZS." */ VAR_DEF(OdString, altmzs, 296, (OD_T("")), (OD_T("")), (), ValidateNone()) #ifdef DOUNDEF_ODTDB_LINEWEIGHT #undef ODTDB_LINEWEIGHT #undef DOUNDEF_ODTDB_LINEWEIGHT #endif #ifdef DOUNDEF_ODTDIST #undef ODTDIST #undef DOUNDEF_ODTDIST #endif #ifdef DOUNDEF_ODTUNITLESS #undef ODTUNITLESS #undef DOUNDEF_ODTUNITLESS #endif #ifdef DOUNDEF_ODTORIENT #undef ODTORIENT #undef DOUNDEF_ODTORIENT #endif #ifdef DOUNDEF_ODTDECSEP #undef ODTDECSEP #undef DOUNDEF_ODTDECSEP #endif #ifdef DOUNDEF_ODTARROWBLK #undef ODTARROWBLK #undef DOUNDEF_ODTARROWBLK #endif #ifdef DOUNDEF_ODTTEXTSTYLEID #undef ODTTEXTSTYLEID #undef DOUNDEF_ODTTEXTSTYLEID #endif #ifdef DOUNDEF_ODTLINETYPEID #undef ODTLINETYPEID #undef DOUNDEF_ODTLINETYPEID #endif #ifdef DOUNDEF_NullIdAllowed #undef NullIdAllowed #undef DOUNDEF_NullIdAllowed #endif