CFx SDK Documentation  2023 SP0
Macros | Functions | Variables
DimVarDefs.h File Reference

Go to the source code of this file.

Macros

#define BLKVAR_DEF   VAR_DEF
 
#define ANNOVAR_DEF   VAR_DEF
 
#define ODTDB_LINEWEIGHT   OdDb::LineWeight /*!DOM*/
 
#define DOUNDEF_ODTDB_LINEWEIGHT
 
#define ODTDIST   double /*!DOM*/
 
#define DOUNDEF_ODTDIST
 
#define ODTORIENT   double /*!DOM*/
 
#define DOUNDEF_ODTORIENT
 
#define ODTUNITLESS   double /*!DOM*/
 
#define DOUNDEF_ODTUNITLESS
 
#define ODTDECSEP   OdInt16 /*!DOM*/
 
#define DOUNDEF_ODTDECSEP
 
#define ODTARROWBLK   OdDbHardPointerId /*!DOM*/
 
#define DOUNDEF_ODTARROWBLK
 
#define ODTTEXTSTYLEID   OdDbHardPointerId /*!DOM*/
 
#define DOUNDEF_ODTTEXTSTYLEID
 
#define ODTLINETYPEID   OdDbHardPointerId /*!DOM*/
 
#define DOUNDEF_ODTLINETYPEID
 
#define NullIdAllowed   true
 
#define DOUNDEF_NullIdAllowed
 

Functions

 VAR_DEF (OdInt16, adec, 179,(0),(0),(), ValidateRange(0, 8)) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(OdUInt16
 
 ValidateRange (0, 8)) VAR_DEF(double
 
 ValidateRange (DBL_EPSILON, DBL_MAX)) VAR_DEF(ODTDIST
 
 ValidateRange (0, DBL_MAX)) VAR_DEF(OdInt16
 
 ValidateRange (0, 15)) VAR_DEF(OdInt16
 
 ValidateRange (1, 8)) VAR_DEF(OdUInt8
 
 OD_T (""))
 
 ValidateRange (0, 3)) VAR_DEF(OdInt16
 
 ValidateRange (0, 4)) VAR_DEF(OdInt16
 
 ValidateDimBlock ()) BLKVAR_DEF(ODTARROWBLK
 
 ValidateColor ()) VAR_DEF(OdCmColor
 
 ValidatePositive ()) VAR_DEF(ODTDECSEP
 
 ValidateDecSep ()) VAR_DEF(ODTDIST
 
 ValidateRange (0, 2)) VAR_DEF(ODTDIST
 
 ValidateRange (1, 6)) VAR_DEF(ODTDB_LINEWEIGHT
 
 ValidateLineWeight ()) VAR_DEF(ODTDB_LINEWEIGHT
 
 ValidatePositiveNonZero ()) VAR_DEF(bool
 
 ValidateTextStyle (NullIdAllowed)) VAR_DEF(ODTDIST
 
 ValidateBOOL ()) VAR_DEF(ODTORIENT
 
 ValidateDouble (5.0 *OdaPI/180.0, OdaPI2)) VAR_DEF(OdInt16
 
 ValidateLinetype (true)) VAR_DEF(ODTLINETYPEID
 

Variables

 alt
 
 false
 
 altd
 
 altf
 
 altrnd
 
 alttd
 
 alttz
 
 altu
 
 altz
 
 apost
 
 asz
 
 atfit
 
 aunit
 
 azin
 
 blk
 
 blk1
 
 blk2
 
 cen
 
 clrd
 
 clre
 
 clrt
 
 dec
 
 dle
 
 dli
 
 dsep
 
 exe
 
 exo
 
 frac
 
 gap
 
 just
 
 ldrblk
 
 lfac
 
 lim
 
 lunit
 
 lwd
 
 lwe
 
 post
 
 rnd
 
 sah
 
 scale
 
 sd1
 
 sd2
 
 se1
 
 se2
 
 soxd
 
 tad
 
 tdec
 
 tfac
 
 tih
 
 true
 
 tix
 
 tm
 
 tmove
 
 tofl
 
 toh
 
 tol
 
 tolj
 
 tp
 
 tsz
 
 tvp
 
 txsty
 
 txt
 
 tzin
 
 upt
 
 zin
 
 fxl
 
 fxlon
 
 jogang
 
 OdaPI4
 
 tfill
 
 tfillclr
 
 arcsym
 
 ltype
 
 ltex1
 
 ltex2
 
 txtdirection
 
 mzf
 
 mzs
 
 altmzf
 
 altmzs
 

Macro Definition Documentation

◆ ANNOVAR_DEF

#define ANNOVAR_DEF   VAR_DEF

Definition at line 31 of file DimVarDefs.h.

◆ BLKVAR_DEF

#define BLKVAR_DEF   VAR_DEF

Definition at line 27 of file DimVarDefs.h.

◆ DOUNDEF_NullIdAllowed

#define DOUNDEF_NullIdAllowed

Definition at line 77 of file DimVarDefs.h.

◆ DOUNDEF_ODTARROWBLK

#define DOUNDEF_ODTARROWBLK

Definition at line 61 of file DimVarDefs.h.

◆ DOUNDEF_ODTDB_LINEWEIGHT

#define DOUNDEF_ODTDB_LINEWEIGHT

Definition at line 36 of file DimVarDefs.h.

◆ DOUNDEF_ODTDECSEP

#define DOUNDEF_ODTDECSEP

Definition at line 56 of file DimVarDefs.h.

◆ DOUNDEF_ODTDIST

#define DOUNDEF_ODTDIST

Definition at line 41 of file DimVarDefs.h.

◆ DOUNDEF_ODTLINETYPEID

#define DOUNDEF_ODTLINETYPEID

Definition at line 72 of file DimVarDefs.h.

◆ DOUNDEF_ODTORIENT

#define DOUNDEF_ODTORIENT

Definition at line 46 of file DimVarDefs.h.

◆ DOUNDEF_ODTTEXTSTYLEID

#define DOUNDEF_ODTTEXTSTYLEID

Definition at line 66 of file DimVarDefs.h.

◆ DOUNDEF_ODTUNITLESS

#define DOUNDEF_ODTUNITLESS

Definition at line 51 of file DimVarDefs.h.

◆ NullIdAllowed

#define NullIdAllowed   true

Definition at line 76 of file DimVarDefs.h.

◆ ODTARROWBLK

#define ODTARROWBLK   OdDbHardPointerId /*!DOM*/

Definition at line 60 of file DimVarDefs.h.

◆ ODTDB_LINEWEIGHT

#define ODTDB_LINEWEIGHT   OdDb::LineWeight /*!DOM*/

Definition at line 35 of file DimVarDefs.h.

◆ ODTDECSEP

#define ODTDECSEP   OdInt16 /*!DOM*/

Definition at line 55 of file DimVarDefs.h.

◆ ODTDIST

#define ODTDIST   double /*!DOM*/

Definition at line 40 of file DimVarDefs.h.

◆ ODTLINETYPEID

#define ODTLINETYPEID   OdDbHardPointerId /*!DOM*/

Definition at line 71 of file DimVarDefs.h.

◆ ODTORIENT

#define ODTORIENT   double /*!DOM*/

Definition at line 45 of file DimVarDefs.h.

◆ ODTTEXTSTYLEID

#define ODTTEXTSTYLEID   OdDbHardPointerId /*!DOM*/

Definition at line 65 of file DimVarDefs.h.

◆ ODTUNITLESS

#define ODTUNITLESS   double /*!DOM*/

Definition at line 50 of file DimVarDefs.h.

Function Documentation

◆ OD_T()

OD_T ( ""  )

◆ ValidateBOOL()

const OdCmTransparency const OdCmTransparency const OdCmColor const OdCmColor const OdCmColor const OdCmColor const OdCmTransparency const OdCmTransparency ValidateBOOL ( )

<title DIMJOGANG> <toctitle DIMJOGANG>

Type double Initial value pi/4 Range pi/36 ... pi/2 Read-Only No Saved In Database Versions 2007+

DIMJOGANG specifies the jog angle of dimension lines in jogged radius dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimjogang() OdDbDatabase::setDimjogang()    OdDbDimension::dimjogang() OdDbDimension::setDimjogang()    OdDbDimStyleTableRecord::dimjogang() OdDbDimStyleTableRecord::setDimjogang()

Note: All angles are expressed in radians.

<group TD_SysVars_D>

  • VARDOCS: <properties>

"\n DIMMZF."

</properties>

<title REGENMODE> <toctitle REGENMODE>

Type bool Initial value true Read-Only No Saved In Database Versions R12+

REGENMODE controls automatic regeneration.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::getREGENMODE() OdDbDatabase::setREGENMODE()

<group TD_SysVars_R>

<title FILLMODE> <toctitle FILLMODE>

Type bool Initial value true Read-Only No Saved In Database Versions R12+

FILLMODE controls the rendering of Hatches, 2D Solids, and wide Polylines.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getFILLMODE() OdDbDatabase::setFILLMODE()

<group TD_SysVars_F>

<title QTEXTMODE> <toctitle QTEXTMODE>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

QTEXTMODE controls the display of text.

Value Description false Text is displayed true Bounding box is displayed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getQTEXTMODE() OdDbDatabase::setQTEXTMODE()


<group TD_SysVars_Q>

<title MIRRTEXT> <toctitle MIRRTEXT>

Type bool Initial value true Read-Only No Saved In Database Versions R12+

MIRRTEXT controls the mirroring of Text with the MIRROR command.

Value Description false Not mirrored true Mirrored

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::getMIRRTEXT() OdDbDatabase::setMIRRTEXT()

<group TD_SysVars_M>

<title LTSCALE> <toctitle LTSCALE>

Type double Initial value 1.0 Read-Only No Saved In Database Versions R12+

LTSCALE specifies the global linetype scale factor.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getLTSCALE() OdDbDatabase::setLTSCALE()


<group TD_SysVars_L>

<title DIMSTYLE> <toctitle DIMSTYLE>

Type OdDbObjectId Initial value "Standard" dimension style object ID for Imperial drawings or "ISO-25" dimension style object ID for Metric drawings. Read-Only No Saved In Database Versions R12+

DIMSTYLE specifies the default dimension style for new entities.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getDIMSTYLE() OdDbDatabase::setDIMSTYLE()


<group TD_SysVars_D>

<title DIMSHO> <toctitle DIMSHO>

Type bool Initial value true Read-Only No Saved In Database Versions R12+

DIMSHO controls the updating of associative dimension object while dragging.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getDIMSHO() OdDbDatabase::setDIMSHO()

Note: DIMSHO is obsolete, but is included for compatibility purposes.

<group TD_SysVars_D>

<title SKPOLY> <toctitle SKPOLY>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

SKPOLY controls the generation of polylines during the SKETCH command.

Value Description false Generates Lines true Generates Polylines

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSKPOLY() OdDbDatabase::setSKPOLY()

<group TD_SysVars_S>

<title TDUCREATE> <toctitle TDUCREATE>

Type OdDbDate Initial value OdDbDate::kInitZero Read-Only Yes Saved In Database Versions 2002+

TDUCREATE represents the time and date, in Universal Time, the database was created.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getTDUCREATE()

See also
<link odDbSetTDUCREATE(), odDbSetTDUCREATE()>

<group TD_SysVars_T>

<title PDMODE> <toctitle PDMODE>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+

PDMODE specifies the display of Point entities.

<image PDMODE.gif>

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPDMODE() OdDbDatabase::setPDMODE()


<group TD_SysVars_P>

<title SPLINETYPE> <toctitle SPLINETYPE>

Type OdInt16 Initial value 6 Read-Only No Saved In Database Versions R12+

SPLINETYPE specifies the type of spline generated by the PEDIT/Spline command.

Value Description 5 Quadratic B-spline 6 Cubic B-spline

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSPLINETYPE() OdDbDatabase::setSPLINETYPE()


<group TD_SysVars_S>

<title SHADEDGE> <toctitle SHADEDGE>

Type OdInt16 Initial value 3 Read-Only No Saved In Database Versions R12+

SHADEDGE specifies the rendering of faces and edges with the SHADE command.

Value Faces Edges 0 Shaded Not highlighted 1 Shaded Background color 2 Not filled Object color 3 Object color Background color

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSHADEDGE() OdDbDatabase::setSHADEDGE()


<group TD_SysVars_S>

<title MAXACTVP> <toctitle MAXACTVP>

Type OdInt16 Initial value 64 Range 2 ... 64 Read-Only No Saved In Database Versions R12+

MAXACTVP specifies the maximum of active viewports in a layout.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getMAXACTVP() OdDbDatabase::setMAXACTVP()

<group TD_SysVars_M>

<title PEXTMIN> <toctitle PEXTMIN>

Type OdGePoint3d Initial value (1.0E+20, 1.0E+20, 1.0E+20) Read-Only No Saved In Database Versions N/A

PEXTMIN specifies the lower-left corner of the extents of the current Paper Space.

Access Methods OdDbDatabase::getPEXTMIN() OdDbDatabase::setPEXTMIN()

Note: get/setSysVar() does not work for this variable. See <link EXTMIN, EXTMIN> description.

<group TD_SysVars_P>

<title PLINEGEN> <toctitle PLINEGEN>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

PLINEGEN controls the generation of linetypes for Polylines.

Value Description false Each segment starts and ends in a dash. true Linetype generation is continuous, ignoring the vertices.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPLINEGEN() OdDbDatabase::setPLINEGEN()


<group TD_SysVars_P>

<title PSLTSCALE> <toctitle PSLTSCALE>

Type bool Initial value true Read-Only No Saved In Database Versions R12+

PSLTSCALE controls the generation of linetypes for Polylines in paper space.

Value Description false Dash lengths in model space are based on model space drawing units. true Dash lengths in model space are based on paper space drawing units. When PSLTSCALE is true, linetypes in viewports will appear the same size as those in paper space.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPSLTSCALE() OdDbDatabase::setPSLTSCALE()


<group TD_SysVars_P>

<title TREEDEPTH> <toctitle TREEDEPTH>

Type OdInt16 Initial value 3020 Read-Only No Saved In Database Versions R13+

TREEDEPTH specifies depth of the spatial index. Spatial indexing, along with layer indexing, is used to maximize performance of demand loading and entity selection.

Value Description <0 2D indexing. An integer in the form -MMMPP specifies the depths for model space (MMM) and paper space (PP). 0 Disables spatial indexing. >0 3D indexing. An integer in the form MMMPP specifies the depths for model space (MMM) and paper space (PP).

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getTREEDEPTH() OdDbDatabase::setTREEDEPTH()


<group TD_SysVars_T>

<title INSUNITS> <toctitle INSUNITS>

Type OdDb::UnitsValue Initial value OdDb::kUnitsInches | OdDb::kUnitsMillimeters Read-Only No Saved In Database Versions 2000+

INSUNITS specifies the drawing units used in the automatic scaling of blocks, Xrefs, and images inserted into or attached to this database.

Name Value Description OdDb::kUnitsUndefined 0 Undefined OdDb::kUnitsInches 1 Inches OdDb::kUnitsFeet 2 Feet OdDb::kUnitsMiles 3 Miles OdDb::kUnitsMillimeters 4 Millimeters OdDb::kUnitsCentimeters 5 Centimeters OdDb::kUnitsMeters 6 Meters OdDb::kUnitsKilometers 7 Kilometers OdDb::kUnitsMicroinches 8 Microinches OdDb::kUnitsMils 9 Mils OdDb::kUnitsYards 10 Yards OdDb::kUnitsAngstroms 11 Angstroms OdDb::kUnitsNanometers 12 Nanometers OdDb::kUnitsMicrons 13 Microns OdDb::kUnitsDecimeters 14 Decimeters OdDb::kUnitsDekameters 15 Dekameters OdDb::kUnitsHectometers 16 Hectometers OdDb::kUnitsGigameters 17 Gigameters OdDb::kUnitsAstronomical 18 Astronomical OdDb::kUnitsLightYears 19 LightYears OdDb::kUnitsParsecs 20 Parsecs

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getINSUNITS() OdDbDatabase::setINSUNITS()

<group TD_SysVars_I>

<title CEPSNTYPE> <toctitle CEPSNTYPE>

Type OdDb::PlotStyleNameType Initial value OdDb::kPlotStyleNameByLayer Read-Only No Saved In Database Versions 2000+

CEPSNTYPE specifies the plot style name type for new entities.

Name Value Description OdDb::kPlotStyleNameByLayer 0 By Layer OdDb::kPlotStyleNameByBlock 1 By Block OdDb::kPlotStyleNameIsDictDefault 2 By Dictionary Default OdDb::kPlotStyleNameById 3 By Id

Access Methods OdDbDatabase::getCEPSNTYPE() OdDbDatabase::setCEPSNTYPE()

<group TD_SysVars_C>

<title FINGERPRINTGUID> <toctitle FINGERPRINTGUID>

Type OdString Initial value odInitFINGERPRINTGUID() Read-Only No Saved In Database Versions N/A

FINGERPRINTGUID uniquely identifies a database. FINGERPRINTGUID set when the database is created.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getFINGERPRINTGUID() OdDbDatabase::setFINGERPRINTGUID()


<group TD_SysVars_F>

<title PSVPSCALE> <toctitle PSVPSCALE>

Type double Initial value 0.0 Read-Only No Saved In Database Versions 2000+

PSVPSCALE specifies the viewport scale (PS/MS) for new viewports. A scale of 0.0 specifies Scaled to Fit.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPSVPSCALE() OdDbDatabase::setPSVPSCALE()

<group TD_SysVars_P>

<title PELLIPSE> <toctitle PELLIPSE>

Type bool Initial value false Read-Only No Saved In Database Versions R13+

PELLIPSE specifies if polylines or ellipses are to be generated by the ELLIPSE command.

Value Description false Ellipses true Polylines

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPELLIPSE() OdDbDatabase::setPELLIPSE()


<group TD_SysVars_P>

<title ISOLINES> <toctitle ISOLINES>

Type OdUInt16 Initial value 4 Range 0 ... 2047 Read-Only No Saved In Database Versions R13+

ISOLINES specifies the number of isolines displayed per surface on 3D solids.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getISOLINES() OdDbDatabase::setISOLINES()


<group TD_SysVars_I>

<title ANNOTATIVEDWG> <toctitle ANNOTATIVEDWG>

Type OdInt8 Initial value 0 Read-Only No Saved In Database Versions 2008+

ANNOTATIVEDWG determines whether the current drawing will act like an annotative block if the drawing is inserted into another drawing.

Value Description 0 Non-annotative behavior. 1 Annotative behavior.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getANNOTATIVEDWG() OdDbDatabase::setANNOTATIVEDWG()

Note: This variable becomes read only if the drawing contains annotative objects.

<group TD_SysVars_A>

<title LAYEREVAL> <toctitle LAYEREVAL>

Type OdInt16 Initial value 1 Range 0 ... 2 Read-Only No Saved In Database Versions 2008+

LAYEREVAL controls when the list of unresolved layers is checked for analysis.

Value Description 0 No checking. 1 Checks when new external reference layers are added. 2 Checks when any new layers are added.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getLAYEREVAL() OdDbDatabase::setLAYEREVAL()

<group TD_SysVars_L>

<title HALOGAP> <toctitle HALOGAP>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions 2002+

HALOGAP specifies the gap to be displayed where one 3D object hides another. HALOGAP is zoom independent, and is specified as a percentage of one drawing unit.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getHALOGAP() OdDbDatabase::setHALOGAP()


<group TD_SysVars_H>

<title DRAWORDERCTL> <toctitle DRAWORDERCTL>

Type OdInt8 Initial value 3 Range 0 ... 3 Read-Only No Saved In Database Versions 2005+

DRAWORDERCTL controls the display update and inheritance of draworder when using certain editing commands. The following commands are affected by DRAWORDERCTL: BREAK, EXPLODE, FILLET, HATCH, HATCHEDIT, JOIN, OFFSET, PEDIT, and TRIM. With Draworder Inheritance on, entities created with these commands assume the draw order of the original objects. With Draworder Inheritance off, they assume the default draworder (top). With Display Update on, entities created with the aforementioned editing commands are displayed correctly according to their Draworder. With Display Update off, they are displayed on top, until the next regeneration.

Value Draworder Inheritance Display Update 0 Off Off 1 Off On 2 On Off 3 On On

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getDRAWORDERCTL() OdDbDatabase::setDRAWORDERCTL()

<group TD_SysVars_D>

<title HPORIGIN> <toctitle HPORIGIN>

Type OdGePoint2d Initial value (0.0, 0.0) Read-Only No Saved In Database Versions 2006+

HPORIGIN specifies the hatch origin for new hatch entities relative to the current UCS.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getHPORIGIN() OdDbDatabase::setHPORIGIN()


<group TD_SysVars_H>

<title LENSLENGTH> <toctitle LENSLENGTH>

Type double Initial value 50.0 Read-Only Yes Saved In Database Versions 2007+

LENSLENGTH specifies the length, in millimeters, of the lens used in perspective viewing.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getLENSLENGTH() OdDbDatabase::setLENSLENGTH()

<group TD_SysVars_L>

<title VIEWUPDATEAUTO> <toctitle VIEWUPDATEAUTO>

Type OdInt16 Initial value 1 Read-Only No Saved In Database Versions 2013+

The VIEWUPDATEAUTO variable specifies whether model views are automatically updated when the model is changed. The value can be:

Value Description 0 Views are not updated. 1 Views are automatically updated.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getVIEWUPDATEAUTO() OdDbDatabase::setVIEWUPDATEAUTO()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"VIEWUPDATEAUTO");
OdInt16 viewupdate = pRb-\>getInt16();
odPrintConsoleString(L"nView update mode is %s", ((viewupdate) ? "ON" : "OFF"));
or //
odPrintConsoleString(L"nView update mode = %d", pDb-\>getVIEWUPDATEAUTO());
short OdInt16

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 1);
pDb-\>setSysVar(L"VIEWUPDATEAUTO", pRb);
or //
pDb-\>setVIEWUPDATEAUTO(1);
static OdResBufPtr newRb(int resType=OdResBuf::kRtNone)
@ kRtInt16
Definition: ResBuf.h:186

<group TD_SysVars_V>

◆ ValidateColor()

ValidateColor ( )

<title DIMCLRE> <toctitle DIMCLRE>

Type OdCmColor Initial value OdCmEntityColor::kByBlock Read-Only No Saved In Database Versions R12+

DIMCLRE specifies the color of extension lines, enter marks, and centerlines.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimclre() OdDbDatabase::setDimclre()    OdDbDimension::dimclre() OdDbDimension::setDimclre()    OdDbDimStyleTableRecord::dimclre() OdDbDimStyleTableRecord::setDimclre()


<group TD_SysVars_D>

<title DIMCLRT> <toctitle DIMCLRT>

Type OdCmColor Initial value OdCmEntityColor::kByBlock Read-Only No Saved In Database Versions R12+

DIMCLRT specifies the color of dimension text.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimclrt() OdDbDatabase::setDimclrt()    OdDbDimension::dimclrt() OdDbDimension::setDimclrt()    OdDbDimStyleTableRecord::dimclrt() OdDbDimStyleTableRecord::setDimclrt()    OdDbFcf::dimclrt() OdDbFcf::setDimclrt()

<group TD_SysVars_D>

<title DIMDEC> <toctitle DIMDEC>

Type OdInt16 Initial value 4 | 2 Range 0 ... 8 Read-Only No Saved In Database Versions R12+

DIMDEC specifies the number of decimal places in primary units in dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimdec() OdDbDatabase::setDimdec()    OdDbDimension::dimdec() OdDbDimension::setDimdec()    OdDbDimStyleTableRecord::dimdec() OdDbDimStyleTableRecord::setDimdec()

<group TD_SysVars_D>

◆ ValidateDecSep()

ValidateDecSep ( )

<title DIMEXE> <toctitle DIMEXE>

Type double Initial value 0.18 | 1.25 Read-Only No Saved In Database Versions R12+

DIMEXE specifies the distance extension lines extend beyond dimension lines.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimexe() OdDbDatabase::setDimexe()    OdDbDimension::dimexe() OdDbDimension::setDimexe()    OdDbDimStyleTableRecord::dimexe() OdDbDimStyleTableRecord::setDimexe()

See also
<link DIMTSZ, DIMTSZ>

<group TD_SysVars_D>

◆ ValidateDimBlock()

ValidateDimBlock ( )

<title DIMBLK1> <toctitle DIMBLK1>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions R12+

DIMBLK1 specifies the first arrowhead block at the ends of dimension lines when DIMSAH == true. A null value specifies the default arrowhead is to be used.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimblk1() OdDbDatabase::setDimblk1()    OdDbDimension::dimblk1() OdDbDimension::setDimblk1()    OdDbDimStyleTableRecord::dimblk1() OdDbDimStyleTableRecord::setDimblk1()

<group TD_SysVars_D>

<title DIMBLK2> <toctitle DIMBLK2>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions R12+

DIMBLK2 specifies the second arrowhead block at the ends of dimension lines when DIMSAH == true. A null value specifies the default arrowhead is to be used.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimblk2() OdDbDatabase::setDimblk2()    OdDbDimension::dimblk2() OdDbDimension::setDimblk2()    OdDbDimStyleTableRecord::dimblk2() OdDbDimStyleTableRecord::setDimblk2()


<group TD_SysVars_D>

<title DIMCEN> <toctitle DIMCEN>

Type double Initial value 0.09 | 2.5 Read-Only No Saved In Database Versions R12+

DIMCEN controls the generation of arc and circle center marks and lines. The absolute value of DIMCEN specifies the size of the center mark, which half the length of the center mark, which is also the length of the portion of a center line beyond the arc or circle, as well as the length of the gap between the center mark and line. The sign of DIMCEN controls the generation of center marks and center lines:

Value Description <0 Center marks and center lines 0 No center marks or center lines >0 Center lines

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimcen() OdDbDatabase::setDimcen()    OdDbDimension::dimcen() OdDbDimension::setDimcen()    OdDbDimStyleTableRecord::dimcen() OdDbDimStyleTableRecord::setDimcen()

<group TD_SysVars_D>

<title DIMLFAC> <toctitle DIMLFAC>

Type double Initial value 1.0 Read-Only No Saved In Database Versions R12+

DIMLFAC specifies the distance multiplier for measurements in dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimlfac() OdDbDatabase::setDimlfac()    OdDbDimension::dimlfac() OdDbDimension::setDimlfac()   OdDbDimStyleTableRecord::dimlfac() OdDbDimStyleTableRecord::setDimlfac()

<group TD_SysVars_D>

◆ ValidateDouble()

ValidateDouble ( 5.0 *OdaPI/180.  0,
OdaPI2   
)

<title DIMTFILL> <toctitle DIMTFILL>

Type OdInt16 Initial value 0 Range 0 ... 2 Read-Only No Saved In Database Versions 2007+

DIMTFILL specifies the background fill of dimension text.

Value Description 0 No fill 1 Drawing background color 2 Color specified by DIMTFILLCLR

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtfill() OdDbDatabase::setDimtfill()   OdDbDimension::dimtfill() OdDbDimension::setDimtfill()    OdDbDimStyleTableRecord::dimtfill() OdDbDimStyleTableRecord::setDimtfill()

See also
<link DIMTFILLCLR, DIMTFILLCLR>

<group TD_SysVars_D>

◆ ValidateLinetype()

ValidateLinetype ( true  )

<title DIMLTEX1> <toctitle DIMLTEX1>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2007+

DIMLTEX1 specifies the linetype of first extension lines.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimltex1() OdDbDatabase::setDimltex1()    OdDbDimension::dimltex1() OdDbDimension::setDimltex1()    OdDbDimStyleTableRecord::dimltex1() OdDbDimStyleTableRecord::setDimltex1()

<group TD_SysVars_D>

<title DIMLTEX2> <toctitle DIMLTEX2>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2007+

DIMLTEX2 specifies the linetype of second extension lines.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimltex2() OdDbDatabase::setDimltex2()    OdDbDimension::dimltex2() OdDbDimension::setDimltex2()    OdDbDimStyleTableRecord::dimltex2() OdDbDimStyleTableRecord::setDimltex2()


<group TD_SysVars_D>

  • VARDOCS: <properties>

"\n DIMTXTDIRECTION controls the text direction." "\n" "\n @table" "\n Value Description" "\n false " "\n true "

<see_also> "\n DIMTXTDIRECTION" </see_also> </properties>

◆ ValidateLineWeight()

ValidateLineWeight ( )

<title DIMLWE> <toctitle DIMLWE>

Type OdDb::LineWeight Initial value OdDb::kLnWtByBlock Read-Only No Saved In Database Versions 2000+

DIMLWE specifies the lineweight for extension lines. Some specific values:

Value Description OdDb::kLnWtByLayer Lightweight is set to "ByLayer" OdDb::kLnWtByBlock Lightweight is set to "ByBlock" OdDb::kLnWtByLwDefault Lightweight is set to "Default", which is controlled by LWDEFAULT system variable

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimlwe() OdDbDatabase::setDimlwe()    OdDbDimension::dimlwe() OdDbDimension::setDimlwe()    OdDbDimStyleTableRecord::dimlwe() OdDbDimStyleTableRecord::setDimlwe()

See also
<link LWDEFAULT, LWDEFAULT>

<group TD_SysVars_D>

<title DIMPOST> <toctitle DIMPOST>

Type OdString Initial value "" Read-Only No Saved In Database Versions R12+

DIMPOST specifies a prefix and/or suffix for the measurement text in dimensions. DIMPOST is in the form prefix<>suffix. The '<>' in DIMPOST is replaced by the alternate measurements text.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimpost() OdDbDatabase::setDimpost()    OdDbDimension::dimpost() OdDbDimension::setDimpost()    OdDbDimStyleTableRecord::dimpost() OdDbDimStyleTableRecord::setDimpost()

<group TD_SysVars_D>

◆ ValidateNone()

const OdCmTransparency const OdCmTransparency const OdCmColor const OdCmColor const OdCmColor const OdCmColor const OdCmTransparency const OdCmTransparency ValidateNone ( )

<title DIMALTD> <toctitle DIMALTD>

Type OdUInt16 Initial value 2 | 3 Read-Only No Saved In Database Versions R13+

DIMALTD specifies the number of decimal places in alternate measurements in dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimaltd() OdDbDatabase::setDimaltd()    OdDbDimension::dimaltd() OdDbDimension::setDimaltd()   OdDbDimStyleTableRecord::dimaltd() OdDbDimStyleTableRecord::setDimaltd()

<group TD_SysVars_D>

<title DIMASZ> <toctitle DIMASZ>

Type double Initial value 0.18 (imperial) | 2.5 (metric) Read-Only No Saved In Database Versions R12+

DIMASZ specifies the size of dimension and leader arrowheads.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimasz() OdDbDatabase::setDimasz()    OdDbDimension::dimasz() OdDbDimension::setDimasz()    OdDbDimStyleTableRecord::dimasz() OdDbDimStyleTableRecord::setDimasz()    OdDbLeader::dimasz() OdDbLeader::setDimasz()

<group TD_SysVars_D>

<title DIMCLRD> <toctitle DIMCLRD>

Type OdCmColor Initial value OdCmEntityColor::kByBlock Read-Only No Saved In Database Versions R12+

DIMCLRD specifies the color of dimension lines, leader lines, frames, and arrowheads.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimclrd() OdDbDatabase::setDimclrd()    OdDbDimension::dimclrd() OdDbDimension::setDimclrd()    OdDbDimStyleTableRecord::dimclrd() OdDbDimStyleTableRecord::setDimclrd()    OdDbFcf::dimclrd() OdDbFcf::setDimclrd()    OdDbLeader::dimclrd() OdDbLeader::setDimclrd()

<group TD_SysVars_D>

<title DIMJUST> <toctitle DIMJUST>

Type OdUInt16 Initial value 0 Range 0 ... 4 Read-Only No Saved In Database Versions R13+

DIMJUST specifies the dimension text horizontal position.

Value Description 0 Centered above the dimension line. 1 By the first extension line. 2 By the second extension line. 3 Above the dimension line, parallel to the first extension line. 4 Above the dimension line, parallel to the second extension line.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimjust() OdDbDatabase::setDimjust()    OdDbDimension::dimjust() OdDbDimension::setDimjust()    OdDbDimStyleTableRecord::dimjust() OdDbDimStyleTableRecord::setDimjust()

<group TD_SysVars_D>

<title DIMLIM> <toctitle DIMLIM>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMLIM controls the display of dimension limits.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimlim() OdDbDatabase::setDimlim()    OdDbDimension::dimlim() OdDbDimension::setDimlim()    OdDbDimStyleTableRecord::dimlim() OdDbDimStyleTableRecord::setDimlim()

<group TD_SysVars_D>

<title DIMLUNIT> <toctitle DIMLUNIT>

Type OdInt16 Initial value 2 Range 1 ... 6 Read-Only No Saved In Database Versions R13+

DIMLUNIT controls the formatting for units in non-angular dimensions.

Value Description 1 Scientific 2 Decimal 3 Engineering 4 Architectural (stacked) 5 Fractional (stacked) 6 Microsoft Windows Desktop

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimlunit() OdDbDatabase::setDimlunit()    OdDbDimension::dimlunit() OdDbDimension::setDimlunit()    OdDbDimStyleTableRecord::dimlunit() OdDbDimStyleTableRecord::setDimlunit()

<group TD_SysVars_D>

<title DIMRND> <toctitle DIMRND>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

DIMRND specifies the rounding of measurements in dimensions. If DIMRND == 0.0, no rounding is performed.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimrnd() OdDbDatabase::setDimrnd()    OdDbDimension::dimrnd() OdDbDimension::setDimrnd()    OdDbDimStyleTableRecord::dimrnd() OdDbDimStyleTableRecord::setDimrnd()

<group TD_SysVars_D>

<title DIMSCALE> <toctitle DIMSCALE>

Type double Initial value 1.0 Read-Only No Saved In Database Versions R12+

DIMSCALE is an scale factor applied to all dimension variables that regulate sizes, offsets, and distances. DIMSCALE serves as an overall "volume control" for dimensions and leaders.

Value Description 0.0 A "reasonable" value is computed for model space viewports. >0.0 If set to the inverse of the plot scale, plotted dimensions will be at the sizes specified by the other dimension variables.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimscale() OdDbDatabase::setDimscale()    OdDbDimension::dimscale() OdDbDimension::setDimscale()    OdDbDimStyleTableRecord::dimscale() OdDbDimStyleTableRecord::setDimscale()    OdDbFcf::dimscale() OdDbFcf::setDimscale()    OdDbLeader::dimscale() OdDbLeader::setDimscale()

<group TD_SysVars_D>

<title DIMSD2> <toctitle DIMSD2>

Type bool Initial value false Read-Only No Saved In Database Versions R13+

DIMSD2 controls the suppression of the second dimension line and arrowhead in dimensions.

Value Description false Not suppressed true Suppressed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimsd2 OdDbDatabase::setDimsd2()    OdDbDimension::dimsd2() OdDbDimension::setDimsd2()    OdDbDimStyleTableRecord::dimsd2() OdDbDimStyleTableRecord::setDimsd2()

<group TD_SysVars_D>

<title DIMSE1> <toctitle DIMSE1>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMSE1 controls the suppression of the first extension line in dimensions.

Value Description false Not suppressed true Suppressed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimse1() OdDbDatabase::setDimse1()    OdDbDimension::dimse1() OdDbDimension::setDimse1()    OdDbDimStyleTableRecord::dimse1() OdDbDimStyleTableRecord::setDimse1()

<group TD_SysVars_D>

<title DIMSE2> <toctitle DIMSE2>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMSE2 controls the suppression of the second extension line in dimensions.

Value Description false Not suppressed true Suppressed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimse2() OdDbDatabase::setDimse2()    OdDbDimension::dimse2() OdDbDimension::setDimse2()    OdDbDimStyleTableRecord::dimse2() OdDbDimStyleTableRecord::setDimse2()

<group TD_SysVars_D>

<title DIMSOXD> <toctitle DIMSOXD>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMSOXD controls the suppression of dimension lines outside the extension lines.

Value Description false Not suppressed true Suppressed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimsoxd() OdDbDatabase::setDimsoxd()    OdDbDimension::dimsoxd() OdDbDimension::setDimsoxd()    OdDbDimStyleTableRecord::dimsoxd() OdDbDimStyleTableRecord::setDimsoxd()

<group TD_SysVars_D>

<title DIMTAD> <toctitle DIMTAD>

Type OdInt16 Initial value 0 | 1 Range 0 ... 4 Read-Only No Saved In Database Versions R12+

DIMTAD specifies the dimension text vertical position.

Value Description 0 Centered about the dimension line. 1 Above the dimension line, unless DIMTIH==1 and the dimension line is not horizontal. 2 Side of the dimension line farthest from the defining points. 3 JIS standard. 4 Text below the dimension line.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtad() OdDbDatabase::setDimtad()   OdDbDimension::dimtad() OdDbDimension::setDimtad()   OdDbDimStyleTableRecord::dimtad() OdDbDimStyleTableRecord::setDimtad()    OdDbLeader::dimtad() OdDbLeader::setDimtad()


<group TD_SysVars_D>

<title DIMTIX> <toctitle DIMTIX>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMTIX controls the placement of dimension text inside the extension lines.

Value Description false Inside extension lines if there is room. true Inside extension lines.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtix() OdDbDatabase::setDimtix()    OdDbDimension::dimtix() OdDbDimension::setDimtix()    OdDbDimStyleTableRecord::dimtix() OdDbDimStyleTableRecord::setDimtix()


<group TD_SysVars_D>

<title DIMTM> <toctitle DIMTM>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

DIMTM specifies the negative of the lower tolerance limit for dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtm() OdDbDatabase::setDimtm()    OdDbDimension::dimtm() OdDbDimension::setDimtm()    OdDbDimStyleTableRecord::dimtm() OdDbDimStyleTableRecord::setDimtm()

<group TD_SysVars_D>

<title DIMTMOVE> <toctitle DIMTMOVE>

Type OdInt16 Initial value 0 Range 0 ... 2 Read-Only No Saved In Database Versions 2000+

DIMTMOVE controls the updating of associative dimension objects while dragging.

Value Description 0 Moving dimension text moves the dimension line. 1 Moving dimension text adds a leader. 2 Moving dimension text does not add a leader.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtmove() OdDbDatabase::setDimtmove()   OdDbDimension::dimtmove() OdDbDimension::setDimtmove()    OdDbDimStyleTableRecord::dimtmove() OdDbDimStyleTableRecord::setDimtmove()

Note: DIMTMOVE is obsolete, but is included for compatibility purposes.

<group TD_SysVars_D>

<title DIMTOH> <toctitle DIMTOH>

Type bool Initial value true | false Read-Only No Saved In Database Versions R12+

DIMTOH controls the orientation of dimension text outside the extension lines.

Value Description false Aligned with dimension line. true Horizontal

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtoh() OdDbDatabase::setDimtoh()    OdDbDimension::dimtoh() OdDbDimension::setDimtoh()    OdDbDimStyleTableRecord::dimtoh() OdDbDimStyleTableRecord::setDimtoh()

<group TD_SysVars_D>

<title DIMTOL> <toctitle DIMTOL>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMTOL controls the generation of tolerance text in dimensions.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtol() OdDbDatabase::setDimtol()    OdDbDimension::dimtol() OdDbDimension::setDimtol()    OdDbDimStyleTableRecord::dimtol() OdDbDimStyleTableRecord::setDimtol()


<group TD_SysVars_D>

<title DIMTOLJ> <toctitle DIMTOLJ>

Type OdUInt8 Initial value 1 | 0 Range 0 ... 2 Read-Only No Saved In Database Versions R13+

DIMTOLJ controls the vertical justification of tolerance values with respect to the nominal dimension text.

Value Description 0 Bottom 1 Middle 2 Top

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtolj() OdDbDatabase::setDimtolj()    OdDbDimension::dimtolj() OdDbDimension::setDimtolj()    OdDbDimStyleTableRecord::dimtolj() OdDbDimStyleTableRecord::setDimtolj()


<group TD_SysVars_D>

  • VARDOCS: <properties>

"\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"

<see_also> "\n DIMDLE" </see_also> </properties> <title DIMTSZ> <toctitle DIMTSZ>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

DIMTSZ specifies the size of architectural tics are to be drawn instead of arrowheads for linear, radial, and diameter dimensions. DIMTSZ is the distance, parallel to the dimension line, that the tics extends beyond the extension lines.

Value Description 0.0 Arrowheads > 0.0 Tics

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtsz() OdDbDatabase::setDimtsz()    OdDbDimension::dimtsz() OdDbDimension::setDimtsz()    OdDbDimStyleTableRecord::dimtsz() OdDbDimStyleTableRecord::setDimtsz()

<group TD_SysVars_D>

<title DIMTXSTY> <toctitle DIMTXSTY>

Type OdDbObjectId Initial value "Standard" text style object ID Read-Only No Saved In Database Versions R13+

The DIMTXSTY variable specifies the text style for dimension text.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimtxsty() OdDbDatabase::setDimtxsty()    OdDbDimension::dimtxsty() OdDbDimension::setDimtxsty()    OdDbLeader::dimtxsty() OdDbLeader::setDimtxsty()

<group TD_SysVars_D>

<title DIMZIN> <toctitle DIMZIN>

Type OdUInt8 Initial value 0 | 8 Range 0 ... 15 Read-Only No Saved In Database Versions R12+

DIMZIN controls zero suppression in linear dimensions.

Value Description 0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.

Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimzin() OdDbDatabase::setDimzin()    OdDbDimension::dimzin() OdDbDimension::setDimzin()    OdDbDimStyleTableRecord::dimzin() OdDbDimStyleTableRecord::setDimzin()

<group TD_SysVars_D>

<title DIMFXLON> <toctitle DIMFXLON>

Type bool Initial value false Read-Only No Saved In Database Versions 2007+

DIMFXLON controls the generation of fixed-length extension lines.

Value Description false Variable length. true Fixed length.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimfxlon() OdDbDatabase::setDimfxlon()    OdDbDimension::dimfxlon() OdDbDimension::setDimfxlon()    OdDbDimStyleTableRecord::dimfxlon() OdDbDimStyleTableRecord::setDimfxlon()

See also
<link DIMFXL, DIMFXL>

<group TD_SysVars_D>

<title DIMARCSYM> <toctitle DIMARCSYM>

Type OdInt16 Initial value 0 Range 0 ... 2 Read-Only No Saved In Database Versions 2007+

DIMARCSYM specifies the placement of arc symbols in arc length dimensions

Value Description 0 Before the dimension text. 1 Above the dimension text. 2 Not displayed.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimarcsym() OdDbDatabase::setDimarcsym()    OdDbDimension::dimarcsym() OdDbDimension::setDimarcsym()    OdDbDimStyleTableRecord::dimarcsym() OdDbDimStyleTableRecord::setDimarcsym()

<group TD_SysVars_D>

  • VARDOCS: <properties>

"\n DIMMZS."

</properties>

  • VARDOCS: <properties>

"\n DIMALTMZF."

</properties>

  • VARDOCS: <properties>

"\n DIMALTMZS."

</properties>

<title EXTMAX> <toctitle EXTMAX>

Type OdGePoint3d Initial value (-1.0E+20, -1.0E+20, -1.0E+20) Read-Only Yes (for getSysVar() and setSysVar() methods) Saved In Database Versions R12+

EXTMAX specifies the upper-right corner of the extents of the Model Space.

Access Methods OdDbDatabase::getSysVar() &#8211; returns the upper-right corner of the extents of the current space (Model or Paper).    OdDbDatabase::getEXTMAX() &#8211; returns the upper-right corner of the extents of the Model Space. OdDbDatabase::setEXTMAX() &#8211; sets the upper-right corner of the extents of the Model Space.


See also
<link OdDbLayout::getEXTMAX(), OdDbLayout::getEXTMAX()> <link OdDbLayout::setEXTMAX(), OdDbLayout::setEXTMAX()> <group TD_SysVars_E>

<title LIMMIN> <toctitle LIMMIN>

Type OdGePoint2d Initial value (0.0, 0.0) Read-Only No Saved In Database Versions R12+

The LIMMIN system variable stores the lower-left corner of the grid limits for model space or current space (current layout).

Access Methods   OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()  
OdDbDatabase::getLIMMIN() OdDbDatabase::setLIMMIN()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"LIMMIN");
OdGePoint2d limmin = pRb-\>getPoint2d();
or //
OdGePoint2d limmin = pDb-\>getLIMMIN();
odPrintConsoleString(L"nLower-left limits = (%f,%f)", limmin.x, limmin.y);
double x
Definition: GePoint2d.h:299
double y
Definition: GePoint2d.h:300

For example, to set the value:

OdGePoint2d point(0.5, 0.8);
OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtPoint2d, point);
pDb-\>setSysVar(L"LIMMIN", pRb);
or //
pDb-\>setLIMMIN( OdGePoint2d(0.5, 0.8) );
@ kRtPoint2d
Definition: ResBuf.h:185

<group TD_SysVars_L>

<title LIMMAX> <toctitle LIMMAX>

Type OdGePoint2d Initial value (12.0, 9.0) | (420.0, 297.0) Read-Only No Saved In Database Versions R12+

The LIMMAX system variable stores the upper-right corner of the grid limits for model space or current space (current layout).

Access Methods   OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   
OdDbDatabase::getLIMMAX() OdDbDatabase::setLIMMAX()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"LIMMAX");
OdGePoint2d limmax = pRb-\>getPoint2d();
or //
OdGePoint2d limmax = pDb-\>getLIMMAX();
odPrintConsoleString(L"nUpper-right limits = (%f,%f)", limmax.x, limmax.y);

For example, to set the value:

OdGePoint2d point(10.5, 8.4);
OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtPoint2d, point);
pDb-\>setSysVar(L"LIMMAX", pRb);
or //
pDb-\>setLIMMAX( OdGePoint2d(10.5, 8.4) );

<group TD_SysVars_L>

<title ORTHOMODE> <toctitle ORTHOMODE>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

ORTHOMODE controls the constraint of cursor movement to the perpendicular.

Value Description false Not constrained true Constrained

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::getORTHOMODE() OdDbDatabase::setORTHOMODE()

<group TD_SysVars_O>

<title DISPSILH> <toctitle DISPSILH>

Type bool Initial value false Read-Only No Saved In Database Versions R13+

DISPSILH controls the display of silhouette curve edges and meshes.

Value Curve Edges Meshes false Not displayed Displayed true Displayed Not displayed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getDISPSILH() OdDbDatabase::setDISPSILH()

<group TD_SysVars_D>

<title LUNITS> <toctitle LUNITS>

Type OdInt16 Initial value 2 Read-Only No Saved In Database Versions R12+

LUNITS controls the display of linear units.

Value Description 1 Scientific 2 Decimal 3 Engineering 4 Architectural 5 Fractional

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getLUNITS() OdDbDatabase::setLUNITS()

Note: LUNITS does not control the formatting of dimension text.

<group TD_SysVars_L>

<title FILLETRAD> <toctitle FILLETRAD>

Type double Initial value 0.5 | 10.0 Read-Only No Saved In Database Versions R12+

FILLETRAD specifies the default fillet radius.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getFILLETRAD() OdDbDatabase::setFILLETRAD()

<group TD_SysVars_F>

<title ELEVATION> <toctitle ELEVATION>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

ELEVATION specifies the default elevation for new entities in the current space or model space.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getELEVATION() OdDbDatabase::setELEVATION()

<group TD_SysVars_E>

<title PELEVATION> <toctitle PELEVATION>

Type double Initial value 0.0 Read-Only No Saved In Database Versions N/A

PELEVATION specifies the default elevation for new entities in the current paper space.

OdDbDatabase::setPELEVATION()

<group TD_SysVars_P>

<title THICKNESS> <toctitle THICKNESS>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

THICKNESS specifies the default 3D thickness for new entities.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getTHICKNESS() OdDbDatabase::setTHICKNESS()


<group TD_SysVars_T>

<title LIMCHECK> <toctitle LIMCHECK>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

The LIMCHECK system variable determines whether objects are allowed outside the grid limits for model space or current space (current layout).

Value Description false Objects outside limits are allowed true Objects outside limits are disallowed

Access Methods   OdDbDatabase::getSysVar() &#8211; gets the outside limits status as an instance of tagged data (boolean type) OdDbDatabase::setSysVar() &#8211; sets the outside limits status as an instance of tagged data (boolean type)    OdDbDatabase::getLIMCHECK() &#8211; gets the outside limits status as a boolean value OdDbDatabase::setLIMCHECK() &#8211; sets the outside limits status as a boolean value

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"LIMCHECK");
bool status = pRb-\>getBool();
odPrintConsoleString(L"nOutside limits status = %s", ((status) ? L"On" : L"Off"));
or //
odPrintConsoleString(L"nObjects outside limits are %s for current space",
(pDb-\>getLIMCHECK()) ? L"disallowed" : L"allowed");

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdOdResBuf::kRtBool, true);
pDb-\>setSysVar(L"LIMCHECK", pRb);
or //
pDb-\>setLIMCHECK(false);

<group TD_SysVars_L>

<title TDUUPDATE> <toctitle TDUUPDATE>

Type OdDbDate Initial value OdDbDate::kInitZero Read-Only Yes Saved In Database Versions 2002+

TDUUPDATE represents the time and date, in Universal Time, the database was last saved.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getTDUUPDATE()

See also
<link odDbSetTDUUPDATE(), odDbSetTDUUPDATE()>

<group TD_SysVars_T>

<title TDINDWG> <toctitle TDINDWG>

Type OdDbDate Initial value OdDbDate::kInitZero Read-Only Yes Saved In Database Versions R12+

TDINDWG represents the total editing time of the database.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getTDINDWG()

See also
<link odDbSetTDINDWG(), odDbSetTDINDWG()>

<group TD_SysVars_T>

<title TDUSRTIMER> <toctitle TDUSRTIMER>

Type OdDbDate Initial value OdDbDate::kInitZero Read-Only Yes Saved In Database Versions R12+

TDUSRTIMER represents the user-elapsed timer.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getTDUSRTIMER()

See also
<link odDbSetTDUSRTIMER(), odDbSetTDUSRTIMER()>

<group TD_SysVars_T>

<title USRTIMER> <toctitle USRTIMER>

Type bool Initial value true Read-Only No Saved In Database Versions N/A

USRTIMER controls the user elapsed timer.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getUSRTIMER() OdDbDatabase::setUSRTIMER()


<group TD_SysVars_U>

<title PLINEWID> <toctitle PLINEWID>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R13+

PLINEWID specifies the default width for new Polyline entities. Value should be greater than or equal to 0.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPLINEWID() OdDbDatabase::setPLINEWID()


<group TD_SysVars_P>

<title SPLFRAME> <toctitle SPLFRAME>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

SPLFRAME controls the display of control polygons for Splines and spline-fit Polylines.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSPLFRAME() OdDbDatabase::setSPLFRAME()

<group TD_SysVars_P>

<title SURFTAB2> <toctitle SURFTAB2>

Type OdInt16 Initial value 6 Read-Only No Saved In Database Versions R12+

SURFTAB2 specifies the number of tabulations generated in the N direction by the EDGESURF and REVSURF commands.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSURFTAB2() OdDbDatabase::setSURFTAB2()

<group TD_SysVars_S>

<title SURFTYPE> <toctitle SURFTYPE>

Type OdInt16 Initial value 6 Read-Only No Saved In Database Versions R12+

SURFTYPE specifies the type of surface fitting for the PEDIT/Smooth command.

Value Description 5 Quadratic B-spline surface 6 Cubic B-spline surface 8 Bezier surface

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSURFTYPE() OdDbDatabase::setSURFTYPE()


<group TD_SysVars_S>

<title USERI2> <toctitle USERI2>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+

USERI2 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERI2() OdDbDatabase::setUSERI2()


<group TD_SysVars_U>

<title USERI3> <toctitle USERI3>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+

USERI3 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERI3() OdDbDatabase::setUSERI3()


<group TD_SysVars_U>

<title USERI4> <toctitle USERI4>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+

USERI4 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERI4() OdDbDatabase::setUSERI4()

<group TD_SysVars_U>

<title USERI5> <toctitle USERI5>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions R12+

USERI5 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERI5() OdDbDatabase::setUSERI5()


<group TD_SysVars_U>

<title USERR1> <toctitle USERR1>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

USERR1 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERR1() OdDbDatabase::setUSERR1()


<group TD_SysVars_U>

<title USERR2> <toctitle USERR2>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

USERR2 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERR2() OdDbDatabase::setUSERR2()

<group TD_SysVars_U>

<title USERR3> <toctitle USERR3>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

USERR3 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERR3() OdDbDatabase::setUSERR3()


<group TD_SysVars_U>

<title USERR4> <toctitle USERR4>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

USERR4 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERR4() OdDbDatabase::setUSERR4()


<group TD_SysVars_U>

<title USERR5> <toctitle USERR5>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

USERR5 is 'reserved for user applications'.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getUSERR5() OdDbDatabase::setUSERR5()

<group TD_SysVars_U>

<title WORLDVIEW> <toctitle WORLDVIEW>

Type bool Initial value true Read-Only No Saved In Database Versions R12+

WORLDVIEW controls the switching of the UCS to the WCS for the duration of the 3DORBIT, DVIEW and VPOINT commands.

Value Description false UCS is unchanged. true UCS switches to WCS.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getWORLDVIEW() OdDbDatabase::setWORLDVIEW()

<group TD_SysVars_W>

<title PLIMCHECK> <toctitle PLIMCHECK>

Type bool Initial value false Read-Only No Saved In Database Versions 11+

The PLIMCHECK system variable determines whether objects are allowed outside the grid limits for paper space (current paper layout).

Value Description false Objects outside paper limits are allowed. true Objects outside paper limits are disallowed.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPLIMCHECK() OdDbDatabase::setPLIMCHECK()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"PLIMCHECK");
bool status = pRb-\>getBool();
odPrintConsoleString(L"nOutside paper limits status = %s", ((status) ? L"On" : L"Off"));
or //
odPrintConsoleString(L"nObjects outside limits are %s for paper space", (pDb-\>getPLIMCHECK()) ? L"disallowed" : L"allowed");

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdOdResBuf::kRtBool, true);
pDb-\>setSysVar(L"PLIMCHECK", pRb);
or //
pDb-\>setPLIMCHECK(false);

<group TD_SysVars_P>

<title PEXTMAX> <toctitle PEXTMAX>

Type OdGePoint3d Initial value (-1.E+20, -1.E+20, -1.E+20) Read-Only No Saved In Database Versions N/A

PEXTMAX specifies the upper-right corner of the extents of the current Paper Space.

Access Methods OdDbDatabase::getPEXTMAX() OdDbDatabase::setPEXTMAX()


<group TD_SysVars_P>

<title PLIMMIN> <toctitle PLIMMIN>

Type OdGePoint2d Initial value (0.0, 0.0) Read-Only No Saved In Database Versions N/A

The PLIMMIN system variable stores the lower-left corner of the grid limits for Paper Space (current paper layout).

Access Methods OdDbDatabase::getPLIMMIN() OdDbDatabase::setPLIMMIN()


<group TD_SysVars_P>

<title PLIMMAX> <toctitle PLIMMAX>

Type OdGePoint2d Initial value (12.0, 9.0)|(420.0, 297.0) Read-Only No Saved In Database Versions N/A

The PLIMMAX system variable stores the upper-right corner of the grid limits for paper space (current paper layout).

Access Methods OdDbDatabase::getPLIMMAX() OdDbDatabase::setPLIMMAX()

<group TD_SysVars_P>

<title UCSNAME> <toctitle UCSNAME>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only Yes Saved In Database Versions R12+

UCSNAME specifies the current UCS for the current viewport of the current space or model space.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getUCSNAME() OdDbDatabase::setUCSNAME()

<group TD_SysVars_U>

<title CMLSTYLE> <toctitle CMLSTYLE>

Type OdDbObjectId Initial value "Standard" multi-line style object ID Read-Only No Saved In Database Versions 13+

CMLSTYLE specifies the default style for new multi-line entities.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getCMLSTYLE() OdDbDatabase::setCMLSTYLE()

<group TD_SysVars_C>

<title PROXYGRAPHICS> <toctitle PROXYGRAPHICS>

Type OdInt16 Initial value 1 Read-Only No Saved In Database Versions R14+

PROXYGRAPHICS controls the saving of proxy images with the database.

Value Description 0 No proxy images. 1 Proxy image saved with database.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPROXYGRAPHICS() OdDbDatabase::setPROXYGRAPHICS()

Note: PROXYGRAPHICS is called SAVEIMAGES in R13.

<group TD_SysVars_P>

<title STYLESHEET> <toctitle STYLESHEET>

Type OdString Initial value "" Read-Only No Saved In Database Versions N/A

STYLESHEET specifies the name of the style sheet for the active layout.

OdDbDatabase::setSTYLESHEET()


<group TD_SysVars_S>

<title XEDIT> <toctitle XEDIT>

Type bool Initial value true Read-Only No Saved In Database Versions 2000+

XEDIT controls if this database, when an Xref, can be edited in-place.

Value Description false Not edited in-place true Edited in-place

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getXEDIT() OdDbDatabase::setXEDIT()


<group TD_SysVars_X>

<title CEPSNID> <toctitle CEPSNID>

Type OdDbHardPointerId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2000+

CEPSNID specifies the plot style for new entities when CEPSNTYPE == OdDb::kPlotStyleNameById.

Access Methods OdDbDatabase::getCEPSNID() OdDbDatabase::setCEPSNID()


<group TD_SysVars_C>

<title VERSIONGUID> <toctitle VERSIONGUID>

Type OdString Initial value odInitVERSIONGUID() Read-Only No Saved In Database Versions N/A

VERSIONGUID uniquely identifies a specific version of a database. VERSIONGUID is updated each time the database is saved.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getVERSIONGUID() OdDbDatabase::setVERSIONGUID()


<group TD_SysVars_V>

<title EXTNAMES> <toctitle EXTNAMES>

Type bool Initial value true Read-Only No Saved In Database Versions 2000+

EXTNAMES specifies if symbol tables follow the R14- or R2000+ naming conventions.

Value Version Max Len Character Set false R14- 31 [A-Z] [0-9] $ _ - true R2000+ 255 All except \ / : * ? " < > |

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getEXTNAMES() OdDbDatabase::setEXTNAMES()


<group TD_SysVars_E>

<title UCSXDIR> <toctitle UCSXDIR>

Type OdGeVector3d Initial value (1.0, 0.0, 0.0) Read-Only Yes Saved In Database Versions R12+

UCSXDIR specifies the WCS x-direction of the current UCS for the current viewport in the current space or model space.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getUCSXDIR()

See also
<link odDbSetUCSXDIR(), odDbSetUCSXDIR()>

<group TD_SysVars_U>

<title UCSYDIR> <toctitle UCSYDIR>

Type OdGeVector3d Initial value (0.0, 1.0, 0.0) Read-Only Yes Saved In Database Versions R12+

UCSYDIR specifies the WCS y-direction of the current UCS for the current viewport in the current space or model space.

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getUCSYDIR()

See also
<link odDbSetUCSYDIR(), odDbSetUCSYDIR()>

<group TD_SysVars_U>

<title PUCSBASE> <toctitle PUCSBASE>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2000+

PUCSBASE specifies the UCS that defines the orthographic UCS orientation for the current paper space.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPUCSBASE() OdDbDatabase::setPUCSBASE()

<group TD_SysVars_P>

<title PUCSXDIR> <toctitle PUCSXDIR>

Type OdGeVector3d Initial value (1.0, 0.0, 0.0) Read-Only Yes Saved In Database Versions N/A

PUCSXDIR specifies the WCS x-direction of the current UCS of the current paper space.

Access Methods OdDbDatabase::getPUCSXDIR()

See also
<link odDbSetPUCSXDIR(), odDbSetPUCSXDIR()>

<group TD_SysVars_P>

<title PUCSYDIR> <toctitle PUCSYDIR>

Type OdGeVector3d Initial value (0.0, 1.0, 0.0) Read-Only Yes Saved In Database Versions N/A

PUCSYDIR specifies the WCS y-direction of the current UCS of the current paper space.

Access Methods OdDbDatabase::getPUCSYDIR()

See also
<link odDbSetPUCSYDIR(), odDbSetPUCSYDIR()>

<group TD_SysVars_P>

<title PUCSORTHOVIEW> <toctitle PUCSORTHOVIEW>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions N/A

PUCSORTHOVIEW specifies the orthographic UCS with respect to the base UCS for the current paper space.

Value Description 0 Non-orthographc 1 Top 2 Bottom 3 Front 4 Back 5 Left 6 Right

Access Methods OdDbDatabase::getPUCSORTHOVIEW() OdDbDatabase::setPUCSORTHOVIEW()


<group TD_SysVars_P>

<title PUCSORGBOTTOM> <toctitle PUCSORGBOTTOM>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

PUCSORGBOTTOM specifies the WCS origin of the bottom-orthographic UCS with respect to the base UCS for the current paper space.

Access Methods OdDbDatabase::getPUCSORGBOTTOM() OdDbDatabase::setPUCSORGBOTTOM()

<group TD_SysVars_P>

<title PUCSORGLEFT> <toctitle PUCSORGLEFT>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

PUCSORGLEFT specifies the WCS origin of the left-orthographic UCS with respect to the base UCS for the current paper space.

Access Methods OdDbDatabase::getPUCSORGLEFT() OdDbDatabase::setPUCSORGLEFT()


<group TD_SysVars_P>

<title PUCSORGRIGHT> <toctitle PUCSORGRIGHT>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

PUCSORGRIGHT specifies the WCS origin of the right-orthographic UCS with respect to the base UCS for the current paper space.

Access Methods OdDbDatabase::getPUCSORGRIGHT() OdDbDatabase::setPUCSORGRIGHT()

<group TD_SysVars_P>

<title PUCSORGFRONT> <toctitle PUCSORGFRONT>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

PUCSORGFRONT specifies the WCS origin of the front-orthographic UCS with respect to the base UCS for the current paper space.

Access Methods OdDbDatabase::getPUCSORGFRONT() OdDbDatabase::setPUCSORGFRONT()

<group TD_SysVars_P>

<title PUCSORGBACK> <toctitle PUCSORGBACK>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

PUCSORGBACK specifies the WCS origin of the back-orthographic UCS with respect to the base UCS for the current paper space.

Access Methods OdDbDatabase::getPUCSORGBACK() OdDbDatabase::setPUCSORGBACK()


<group TD_SysVars_P>

<title UCSBASE> <toctitle UCSBASE>

Type OdDbHardPointerId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2000+

UCSBASE specifies the UCS that defines the orthographic UCS orientation for model space.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::getUCSBASE() OdDbDatabase::setUCSBASE()

<group TD_SysVars_U>

<title UCSORGBOTTOM> <toctitle UCSORGBOTTOM>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

UCSORGBOTTOM specifies the WCS origin of the model space bottom-orthographic UCS with respect to the base model space UCS.

Access Methods OdDbDatabase::getUCSORGBOTTOM() OdDbDatabase::setUCSORGBOTTOM()


<group TD_SysVars_U>

<title UCSORGLEFT> <toctitle UCSORGLEFT>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

UCSORGLEFT specifies the WCS origin of the model space left-orthographic UCS with respect to the base model space UCS.

Access Methods OdDbDatabase::getUCSORGLEFT() OdDbDatabase::setUCSORGLEFT()


<group TD_SysVars_U>

<title UCSORGRIGHT> <toctitle UCSORGRIGHT>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

UCSORGRIGHT specifies the WCS origin of the model space right-orthographic UCS with respect to the base model space UCS.

Access Methods OdDbDatabase::getUCSORGRIGHT() OdDbDatabase::setUCSORGRIGHT()


<group TD_SysVars_U>

<title UCSORGFRONT> <toctitle UCSORGFRONT>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

UCSORGFRONT specifies the WCS origin of the model space front-orthographic UCS with respect to the base model space UCS.

Access Methods OdDbDatabase::getUCSORGFRONT() OdDbDatabase::setUCSORGFRONT()


<group TD_SysVars_U>

<title UCSORGBACK> <toctitle UCSORGBACK>

Type OdGePoint3d Initial value (0.0, 0.0, 0.0) Read-Only No Saved In Database Versions N/A

UCSORGBACK specifies the WCS origin of the model space back-orthographic UCS with respect to the base model space UCS.

Access Methods OdDbDatabase::getUCSORGBACK() OdDbDatabase::setUCSORGBACK()


<group TD_SysVars_U>

<title DWGCODEPAGE> <toctitle DWGCODEPAGE>

Type OdCodePageId Initial value CP_ANSI_1252 Read-Only Yes Saved In Database Versions R12+

The DWGCODEPAGE variable specifies the database system's code page when the database was created. The value can be:

Name Value Description CP_UNDEFINED 0 undefined CP_ASCII 1 ascii CP_8859_1 2 iso8859-1 CP_8859_2 3 iso8859-2 CP_8859_3 4 iso8859-3 CP_8859_4 5 iso8859-4 CP_8859_5 6 iso8859-5 CP_8859_6 7 iso8859-6 CP_8859_7 8 iso8859-7 CP_8859_8 9 iso8859-8 CP_8859_9 10 iso8859-9 CP_DOS437 11 dos437 CP_DOS850 12 dos850 CP_DOS852 13 dos852 CP_DOS855 14 dos855 CP_DOS857 15 dos857 CP_DOS860 16 dos860 CP_DOS861 17 dos861 CP_DOS863 18 dos863 CP_DOS864 19 dos864 CP_DOS865 20 dos865 CP_DOS869 21 dos869 CP_DOS932 22 dos932 CP_MACINTOSH 23 mac-roman CP_BIG5 24 big5 CP_KSC5601 25 ksc5601 CP_JOHAB 26 johab CP_DOS866 27 dos866 CP_ANSI_1250 28 ansi 1250 CP_ANSI_1251 29 ansi 1251 CP_ANSI_1252 30 ansi 1252 CP_GB2312 31 gb2312 CP_ANSI_1253 32 ansi 1253 CP_ANSI_1254 33 ansi 1254 CP_ANSI_1255 34 ansi 1255 CP_ANSI_1256 35 ansi 1256 CP_ANSI_1257 36 ansi 1257 CP_ANSI_874 37 ansi 874 CP_ANSI_932 38 ansi 932 CP_ANSI_936 39 ansi 936 CP_ANSI_949 40 ansi 949 CP_ANSI_950 41 ansi 950 CP_ANSI_1361 42 ansi 1361 CP_ANSI_1200 43 ansi 1200 CP_ANSI_1258 44 ansi 1258

Access Methods OdDbDatabase::getSysVar()    OdDbDatabase::getDWGCODEPAGE()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"DWGCODEPAGE");
OdInt16 page = pRb-\>getInt16();
odPrintConsoleString(L"nDatabase system code page = %d", page);
or //
odPrintConsoleString(L"nDatabase system code page = %d", (int)pDb-\>getDWGCODEPAGE();
See also
<link odDbSetDWGCODEPAGE(), The odDbSetDWGCODEPAGE() global function.>

<group TD_SysVars_D>

<title CTABLESTYLE> <toctitle CTABLESTYLE>

Type OdDbObjectId Initial value "Standard" table style object ID Read-Only No Saved In Database Versions 2005+

CTABLESTYLE specifies the default style for new table entities.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::tablestyle() OdDbDatabase::setTablestyle()


<group TD_SysVars_C>

<title ANNOALLVISIBLE> <toctitle ANNOALLVISIBLE>

Type bool Initial value true Read-Only No Saved In Database Versions 2008+

The ANNOALLVISIBLE variable is used to hide or display annotative objects that do not support the current annotation scale. The value of ANNOALLVISIBLE variable is stored separately for model space and paper space viewports.

Value Description false Displays only the annotative objects that support the current annotation scale. true Displays all annotative objects.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getANNOALLVISIBLE() OdDbDatabase::setANNOALLVISIBLE()

Note: If the value of ANNOALLVISIBLE is set to true, annotative objects that support several scales display only one scale view.

<group TD_SysVars_A>

<title OBSCUREDCOLOR> <toctitle OBSCUREDCOLOR>

Type OdInt16 Initial value 257 Read-Only No Saved In Database Versions 2002+

OBSCUREDCOLOR specifies the ACI color index of intersection polylines. Obscured lines are visible if and only if (OBSCUREDCOLOR != kACInone) && (OBSCUREDLTYPE != 0)

Name Value Description kACIbyBlock 0 ByBlock kACIRed 1 Red kACIYellow 2 Yellow kACIGreen 3 Green kACICyan 4 Cyan kACIBlue 5 Blue kACIMagenta 6 Magenta kACIforeground 7 Foregroundcolor .. 8-255 Defined by display device kACIbyLayer 256 ByLayer kACInone 257 No color

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getOBSCUREDCOLOR() OdDbDatabase::setOBSCUREDCOLOR()


<group TD_SysVars_O>

<title SORTENTS> <toctitle SORTENTS>

Type OdInt16 Initial value 127 Read-Only No Saved In Database Versions R12+

SORTENTS controls the object sort order. SORTENTS will be a combination of the following:

Value Description 0 No sorting 1 Object selection sorting 2 Object snap sorting 4 Clears all checkboxes 8 MSLIDE command sorting 16 REGEN command sorting 32 Plotting sorting 64 Clears all checkboxes

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSORTENTS() OdDbDatabase::setSORTENTS()

Note: The SORTENTS system variable has been depreciated.

See also
<link DRAWORDERCTL, DRAWORDERCTL>

<group TD_SysVars_S>

<title FIELDEVAL> <toctitle FIELDEVAL>

Type OdInt16 Initial value 0x1F Read-Only No Saved In Database Versions 2005+

FIELDEVAL specifies when fields are updated. FIELDEVAL will be a combination of one or more of the following values:

Name Value Description OdDbField::kDisable 0 Disable evaluation of field. OdDbField::kOnOpen 0x01 Evaluate on database open. OdDbField::kOnSave 0x02 Evaluate on database save. OdDbField::kOnPlot 0x04 Evaluate on database plot. OdDbField::kOnEtransmit 0x08 Evaluate on database Etransmit. OdDbField::kOnRegen 0x10 Evaluate on database regen. OdDbField::kOnDemand 0x20 Evaluate on demand. OdDbField::kAutomatic 0x3F Evaluate automatically.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getFIELDEVAL() OdDbDatabase::setFIELDEVAL()


<group TD_SysVars_F>

<title TIMEZONE> <toctitle TIMEZONE>

Type OdDb::TimeZone Initial value OdDb::kPacific Read-Only No Saved In Database Versions 2007+

TIMEZONE sets the time zone for sun studies in the drawing. TIMEZONE represents hours and minutes away from Greenwich Mean Time. Setting a geographic location sets TIMEZONE.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getTIMEZONE() OdDbDatabase::setTIMEZONE()

<group TD_SysVars_T>

<title INTERFEREOBJVS> <toctitle INTERFEREOBJVS>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2007+

INTERFEREOBJVS specifies the interference object visual style.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getINTERFEREOBJVS() OdDbDatabase::setINTERFEREOBJVS()

<group TD_SysVars_I>

<title CAMERADISPLAY> <toctitle CAMERADISPLAY>

Type bool Initial value false Read-Only No Saved In Database Versions 2007+

CAMERADISPLAY controls the display of camera glyphs.

Value Description false Not displayed true Displayed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getCAMERADISPLAY() OdDbDatabase::setCAMERADISPLAY()

<group TD_SysVars_C>

<title CAMERAHEIGHT> <toctitle CAMERAHEIGHT>

Type double Initial value 0.0 Read-Only No Saved In Database Versions 2007+

CAMERAHEIGHT specifies the default height, in drawing units, for new camera objects.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getCAMERAHEIGHT() OdDbDatabase::setCAMERAHEIGHT()

<group TD_SysVars_C>

<title STEPSPERSEC> <toctitle STEPSPERSEC>

Type double Initial value 2.0 Range 1.0 ... 30.0 Read-Only No Saved In Database Versions 2007+

STEPSPERSEC specifies the number of steps taken per second in walk or fly mode.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSTEPSPERSEC() OdDbDatabase::setSTEPSPERSEC()


<group TD_SysVars_S>

<title HPCOLOR> <toctitle HPCOLOR>

Type OdCmColor Initial value OdCmEntityColor::kNone Read-Only No Saved In Database Versions 2011+

HPTRANSPARENCY stores the default color of hatches.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getHPCOLOR() OdDbDatabase::setHPCOLOR()

<group TD_SysVars_H>

<title HPBACKGROUNDCOLOR> <toctitle HPBACKGROUNDCOLOR>

Type OdCmColor Initial value OdCmEntityColor::kNone Read-Only No Saved In Database Versions 2011+

HPTRANSPARENCY stores the default background color of hatch patterns.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getHPBACKGROUNDCOLOR() OdDbDatabase::setHPBACKGROUNDCOLOR()

<group TD_SysVars_H>

<title CETRANSPARENCY> <toctitle CETRANSPARENCY>

Type OdString | OdCmTransparency Initial value "byLayer" | OdCmTransparency::kByLayer Read-Only No Saved In Database Versions 2011+

The CETRANSPARENCY variable specifies a default transparency for new entities (excluding hatches, see HPTRANSPARENCY variable).

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getCETRANSPARENCY() OdDbDatabase::setCETRANSPARENCY()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"CETRANSPARENCY");
OdString sValue = pRb-\>getString();
odPrintConsoleString(L"nTransparency value = %s", sValue.c_str());
or //
OdCmTransparency clarity = pDb-\>getCETRANSPARENCY()
odPrintConsoleString(L"nTransparency value = %x", clarity.serializeOut());
const OdChar * c_str() const
Definition: OdString.h:200
GLfloat x
Definition: gles2_ext.h:314
GLsizei const GLfloat * value
Definition: gles2_ext.h:302

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtString, L"50");
pDb-\>setSysVar(L"CETRANSPARENCY", pRb);
or //
OdCmTransparency clarity(50);
pDb-\>setCETRANSPARENCY(clarity);
@ kRtString
Definition: ResBuf.h:188

<group TD_SysVars_C>

<title VSACURVATURELOW> <toctitle VSACURVATURELOW>

Type double Initial value (–1.0) Read-Only No Saved In Database Versions 2013+

The VSACURVATURELOW variable stores a low value at which a surface displays as blue tint when curvature analysis is performed.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getVSACURVATURELOW() OdDbDatabase::setVSACURVATURELOW()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"VSACURVATURELOW");
double value = pRb-\>getDouble();
odPrintConsoleString(L"nCurvatture low = %g", value);
or //
odPrintConsoleString(L"nCurvatture low = %g", pDb-\>getVSACURVATURELOW());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtDouble, -0.8);
pDb-\>setSysVar(L"VSACURVATURELOW", pRb);
or //
pDb-\>setVSACURVATURELOW(-0.5);
@ kRtDouble
Definition: ResBuf.h:184

<group TD_SysVars_V>

<title VSACURVATURETYPE> <toctitle VSACURVATURETYPE>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions 2013+

The VSACURVATURETYPE variable stores the type of curvature analysis which is applied to surfaces. The value can be:

Value Description 0 Gaussian curvature type – calculates the area of high and low curvature values. 1 Mean curvature – calculates the mean of the U and V surface curvature values. 2 Maximum curvature – calculates the maximum of the U and V surface curvature values. 3 Minimum curvature – calculates the minimum of the U and V surface curvature values.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getVSACURVATURETYPE() OdDbDatabase::setVSACURVATURETYPE()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"VSACURVATURETYPE");
OdInt16 type = pRb-\>getInt16();
odPrintConsoleString(L"nCurvatture analysis type = %d", type);
or //
odPrintConsoleString(L"nCurvatture analysis type = %d", pDb-\>getVSACURVATURETYPE());
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 2);
pDb-\>setSysVar(L"VSACURVATURETYPE", pRb);
or //
pDb-\>setVSACURVATURETYPE(3);

<group TD_SysVars_V>

<title VSAZEBRACOLOR2> <toctitle VSAZEBRACOLOR2>

Type OdString Initial value "RGB:0,0,0" Read-Only No Saved In Database Versions 2013+

The VSAZEBRACOLOR2 variable stores the second tint of zebra streaks which are displayed when zebra analysis is performed. TrueColor value is set as follows: "RGB:XXX,XXX,XXX", where XXX is the color component value in the range 0 to 255. Value 0 defines a color ByBlock, value 256 defines a color ByLayer, values 1 to 255 define the ACI color.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getVSAZEBRACOLOR2() OdDbDatabase::setVSAZEBRACOLOR2()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"VSAZEBRACOLOR2");
OdString tint = pRb-\>getString();
odPrintConsoleString(L"nSecond zebra streak tint = %s", tint);
or //
odPrintConsoleString(L"nSecond zebra streak tint = %s", pDb-\>getVSAZEBRACOLOR2());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtString, L"RGB:128,128,128");
pDb-\>setSysVar(L"VSAZEBRACOLOR2", pRb);
or //
pDb-\>setVSAZEBRACOLOR2("256");

<group TD_SysVars_V>

<title VSAZEBRADIRECTION> <toctitle VSAZEBRADIRECTION>

Type OdInt16 Initial value 90 Read-Only No Saved In Database Versions 2013+

The VSAZEBRADIRECTION variable stores the direction angle of zebra streaks which are displayed when zebra analysis is performed. The value can be in the range 0 to 90 degrees. The value 0 defines horizontal streaks. The value 90 defines vertical streaks.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getVSAZEBRADIRECTION() OdDbDatabase::setVSAZEBRADIRECTION()

For example, to get the value:

OdRusBufPtr pRb = pDb-\>getSysVar(L"VSAZEBRADIRECTION");
OdInt16 angle = pRb-\>getInt16();
odPrintConsoleString(L"nZebra streak angle = %d", angle);
or //
odPrintConsoleString(L"nZebra streak angle = %d", pDb-\>getVSAZEBRADIRECTION());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 30);
pDb-\>setSysVar(L"VSAZEBRADIRECTION", pRb);
or //
pDb-\>setVSAZEBRADIRECTION(60);

<group TD_SysVars_V>

<title SECTIONTHICKNESSINC> <toctitle SECTIONTHICKNESSINC>

Type double Initial value 1.0 Read-Only No Saved In Database Versions 2016+

SECTIONTHICKNESSINC stores a default value of incrementation or reduction of slice thickness.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getSECTIONTHICKNESSINC() OdDbDatabase::setSECTIONTHICKNESSINC()


<group TD_SysVars_S>

<title XREFOVERRIDE> <toctitle XREFOVERRIDE>

Type OdInt16 Initial value 0 Read-Only No Saved In Database Versions 2016+

XREFOVERRIDE controls the display of object properties in XREFs.

Value Description 0 XREF entities save settings of their properties. 1 XREF entities are treated as if all their visual properties are set to ByLayer and depend on the properties of the XREF layers.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getXREFOVERRIDE() OdDbDatabase::setXREFOVERRIDE()


<group TD_SysVars_X>

◆ ValidatePositive()

ValidatePositive ( )

<title DIMDSEP> <toctitle DIMDSEP>

Type OdInt16 Initial value '.' | ',' Read-Only No Saved In Database Versions R14+

DIMDSEP specifies the decimal separator for dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimdsep() OdDbDatabase::setDimdsep()    OdDbDimension::dimdsep() OdDbDimension::setDimdsep()    OdDbDimStyleTableRecord::dimdsep() OdDbDimStyleTableRecord::setDimdsep()

<group TD_SysVars_D>

<title DIMEXO> <toctitle DIMEXO>

Type double Initial value 0.0625 | 0.625 Range >=0 Read-Only No Saved In Database Versions R12+

DIMEXO specifies the distance extensions are offset from their origin points. DIMEXO specifies a minimum value when fixed-length extension lines are used.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimexo() OdDbDatabase::setDimexo()    OdDbDimension::dimexo() OdDbDimension::setDimexo()    OdDbDimStyleTableRecord::dimexo() OdDbDimStyleTableRecord::setDimexo()

<group TD_SysVars_D>

<title DIMFRAC> <toctitle DIMFRAC>

Type OdInt16 Initial value 0 Range 0 ... 2 Read-Only No Saved In Database Versions 2000+

DIMFRAC specifies the fraction format when DIMLUNIT == 4 or 5.

Value Description 0 Horizontal Stacked 1 Diagonal Stacked 2 Not Stacked

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimfrac() OdDbDatabase::setDimfrac()    OdDbDimension::dimfrac() OdDbDimension::setDimfrac()    OdDbDimStyleTableRecord::dimfrac() OdDbDimStyleTableRecord::setDimfrac()

See also
<link DIMLUNIT, DIMLUNIT>

<group TD_SysVars_D>

<title DIMSAH> <toctitle DIMSAH>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMSAH controls the generation of separate arrowheads for dimension lines.

Value Arrowhead Blocks false DIMBLK true DIMBLK1 and DIMBLK2

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimsah() OdDbDatabase::setDimsah()   OdDbDimension::dimsah() OdDbDimension::setDimsah()    OdDbDimStyleTableRecord::dimsah() OdDbDimStyleTableRecord::setDimsah()    OdDbLeader::dimsah() OdDbLeader::setDimsah()


<group TD_SysVars_D>

<title DIMSD1> <toctitle DIMSD1>

Type bool Initial value false Read-Only No Saved In Database Versions R13+

DIMSD1 controls the suppression of the first dimension line and arrowhead in dimensions.

Value Description false Not suppressed true Suppressed

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimsd1() OdDbDatabase::setDimsd1()    OdDbDimension::dimsd1() OdDbDimension::setDimsd1()    OdDbDimStyleTableRecord::dimsd1() OdDbDimStyleTableRecord::setDimsd1()

<group TD_SysVars_D>

<title DIMTVP> <toctitle DIMTVP>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

DIMTVP specifies, as a factor of DIMTXT, the vertical distance of the middle of the dimension text with respect to the dimension line.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtvp() OdDbDatabase::setDimtvp()    OdDbDimension::dimtvp() OdDbDimension::setDimtvp()    OdDbDimStyleTableRecord::dimtvp() OdDbDimStyleTableRecord::setDimtvp()


<group TD_SysVars_D>

◆ ValidatePositiveNonZero()

const OdCmTransparency const OdCmTransparency const OdCmColor const OdCmColor const OdCmColor const OdCmColor const OdCmTransparency const OdCmTransparency ValidatePositiveNonZero ( )

<title DIMTIH> <toctitle DIMTIH>

Type bool Initial value true | false Read-Only No Saved In Database Versions R12+

DIMTIH controls the orientation of dimension text inside the extension lines.

Value Description false Aligned with dimension line. true Horizonta

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtih() OdDbDatabase::setDimtih()    OdDbDimension::dimtih() OdDbDimension::setDimtih()    OdDbDimStyleTableRecord::dimtih() OdDbDimStyleTableRecord::setDimtih()

<group TD_SysVars_D>

<title DIMTZIN> <toctitle DIMTZIN>

Type OdUInt8 Initial value 0 | 8 Range 0 ... 15 Read-Only No Saved In Database Versions R13+

DIMTZIN controls zero suppression in tolerance values in linear dimensions.

Value Description 0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.

Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtzin() OdDbDatabase::setDimtzin()    OdDbDimension::dimtzin() OdDbDimension::setDimtzin()    OdDbDimStyleTableRecord::dimtzin() OdDbDimStyleTableRecord::setDimtzin()

<group TD_SysVars_D>

◆ ValidateRange() [1/9]

ValidateRange ( ,
15   
)

<title DIMALTU> <toctitle DIMALTU>

Type OdInt16 Initial value 2 Range 1 ... 8 Read-Only No Saved In Database Versions R13+

DIMALTU controls the formatting for alternate units in dimensions.

Value Description 1 Scientific 2 Decimal 3 Engineering 4 Architectural (stacked) 5 Fractional (stacked) 6 Architectural 7 Fractional 8 Microsoft Windows Desktop

Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimaltu() OdDbDatabase::setDimaltu()    OdDbDimension::dimaltu() OdDbDimension::setDimaltu()    OdDbDimStyleTableRecord::dimaltu() OdDbDimStyleTableRecord::setDimaltu()

<group TD_SysVars_D>

<title DIMAPOST> <toctitle DIMAPOST>

Type OdString Initial value "" Read-Only No Saved In Database Versions R12+

DIMAPOST specifies a prefix and/or suffix for the alternate measurements text in dimensions. DIMAPOST is in the form prefix<>suffix. The '<>' in DIMAPOST is replaced by the alternate measurements text.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimapost() OdDbDatabase::setDimapost()    OdDbDimension::dimapost() OdDbDimension::setDimapost()    OdDbDimStyleTableRecord::dimapost() OdDbDimStyleTableRecord::setDimapost()

<group TD_SysVars_D>

<title DIMUPT> <toctitle DIMUPT>

Type bool Initial value false Read-Only No Saved In Database Versions R13+

DIMUPT controls the movement of user-positioned text when dimension lines are moved.

Value Description false Moves only the dimension line. true Moves the dimension line and the text.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimupt() OdDbDatabase::setDimupt()    OdDbDimension::dimupt() OdDbDimension::setDimupt()    OdDbDimStyleTableRecord::dimupt() OdDbDimStyleTableRecord::setDimupt()


<group TD_SysVars_D>

<title DIMFXL> <toctitle DIMFXL>

Type double Initial value 1.0 Read-Only No Saved In Database Versions 2007+

DIMFXL specifies the fixed length of extension lines from the dimension line towards the dimension origin. DIMFXL is ignored when DIMFXLON == false.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimfxl() OdDbDatabase::setDimfxl()    OdDbDimension::dimfxl() OdDbDimension::setDimfxl()    OdDbDimStyleTableRecord::dimfxl() OdDbDimStyleTableRecord::setDimfxl()


<group TD_SysVars_D>

◆ ValidateRange() [2/9]

const OdCmTransparency const OdCmTransparency const OdCmColor const OdCmColor const OdCmColor const OdCmColor const OdCmTransparency const OdCmTransparency ValidateRange ( ,
 
)

<title DIMGAP> <toctitle DIMGAP>

Type double Initial value 0.09 | 0.625 Read-Only No Saved In Database Versions R12+

DIMGAP specifies the gap between dimension text and dimension lines. A negative value for DIMGAP draws a reference box round the dimension text. Text is placed inside a dimension line only if there will be two line segments each as long as abs(DIMGAP).

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimgap() OdDbDatabase::setDimgap()    OdDbDimension::dimgap() OdDbDimension::setDimgap()    OdDbDimStyleTableRecord::dimgap() OdDbDimStyleTableRecord::setDimgap()    OdDbFcf::dimgap() OdDbFcf::setDimgap()   OdDbLeader::dimgap() OdDbLeader::setDimgap()

<group TD_SysVars_D>

<title DIMTOFL> <toctitle DIMTOFL>

Type bool Initial value false | true Read-Only No Saved In Database Versions R12+

DIMTOFL controls the drawing of dimension lines between extension lines when text is outside the dimension lines.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtofl() OdDbDatabase::setDimtofl()    OdDbDimension::dimtofl() OdDbDimension::setDimtofl()    OdDbDimStyleTableRecord::dimtofl() OdDbDimStyleTableRecord::setDimtofl()

<group TD_SysVars_D>

<title DIMTP> <toctitle DIMTP>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

DIMTP specifies the upper tolerance limit for dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtp() OdDbDatabase::setDimtp()    OdDbDimension::dimtp() OdDbDimension::setDimtp()    OdDbDimStyleTableRecord::dimtp() OdDbDimStyleTableRecord::setDimtp()

<group TD_SysVars_D>

<title DIMTFILLCLR> <toctitle DIMTFILLCLR>

Type OdCmColor Initial value OdCmEntityColor::kByBlock Read-Only No Saved In Database Versions 2007+

DIMTFILLCLR specifies the background fill color of dimension text when DIMTFILL == 2.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtfillclr() OdDbDatabase::setDimtfillclr()    OdDbDimension::dimtfillclr() OdDbDimension::setDimtfillclr()    OdDbDimStyleTableRecord::dimtfillclr() OdDbDimStyleTableRecord::setDimtfillclr()

See also
<link DIMTFILL, DIMTFILL>

<group TD_SysVars_D>

<title DIMLTYPE> <toctitle DIMLTYPE>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2007+

DIMLTYPE specifies the linetype of dimension lines.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimltype() OdDbDatabase::setDimltype()    OdDbDimension::dimltype() OdDbDimension::setDimltype()    OdDbDimStyleTableRecord::dimltype() OdDbDimStyleTableRecord::setDimltype()

<group TD_SysVars_D>

<title CMLSCALE> <toctitle CMLSCALE>

Type double Initial value 1.0 | 20.0 Read-Only No Saved In Database Versions 13+

CMLSCALE specifies the default width scale for new multiline entities.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getCMLSCALE() OdDbDatabase::setCMLSCALE()


<group TD_SysVars_C>

<title TSTACKSIZE> <toctitle TSTACKSIZE>

Type OdUInt16 Initial value 70 Range 25 ... 125 Read-Only No Saved In Database Versions 2000+

TSTACKSIZE specifies the size of stacked text as a percentage of the current text height.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getTSTACKSIZE() OdDbDatabase::setTSTACKSIZE()

<group TD_SysVars_T>

<title LAYERNOTIFY> <toctitle LAYERNOTIFY>

Type OdInt16 Initial value 15 Range &#8211;63 ... 63 Read-Only No Saved In Database Versions 2008+

LAYERNOTIFY controls when an alert is displayed for unresolved layers.

Value Description 0 Do not display alerts. 1 Display any alerts when printing. 2 Display any alerts when opening drawings. 4 Display any alerts when working with external references (attaching, loading, reloading). 8 Display any alerts when restoring layer states. 16 Display any alerts when saving drawings. 32 Display any alerts when inserting blocks.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getLAYERNOTIFY() OdDbDatabase::setLAYERNOTIFY()


<group TD_SysVars_L>

<title LIGHTSINBLOCKS> <toctitle LIGHTSINBLOCKS>

Type OdInt16 Initial value 1 Range 0 ... 1 Read-Only No Saved In Database Versions 2008+

LIGHTSINBLOCKS controls whether lights that are saved in blocks are used when rendering.

Value Description 0 Lights in blocks are not used during rendering. 1 Lights in blocks are used during rendering.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getLIGHTSINBLOCKS() OdDbDatabase::setLIGHTSINBLOCKS()


<group TD_SysVars_L>

<title HIDETEXT> <toctitle HIDETEXT>

Type bool Initial value true Read-Only No Saved In Database Versions 2002+

HIDETEXT controls the participation of Text and MText entities in HIDE commands.

Value Description false Don't hide and are not hidden. true Hide and are hidden.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getHIDETEXT() OdDbDatabase::setHIDETEXT()


<group TD_SysVars_H>

<title PSOLWIDTH> <toctitle PSOLWIDTH>

Type double Initial value 0.25 | 5.0 Read-Only No Saved In Database Versions 2007+

PSOLWIDTH specifies the default width for swept solids. PSOLWIDTH value should be greater than 0.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPSOLWIDTH() OdDbDatabase::setPSOLWIDTH()


<group TD_SysVars_P>

<title DGNFRAME> <toctitle DGNFRAME>

Type OdInt8 Initial value 2 Range 0 ... 2 Read-Only No Saved In Database Versions 2008+

DGNFRAME controls the visibility and plotting of the DGN frame.

Value Description 0 Not visible and not plotted. 1 Visible and plotted. 2 Visible but not plotted.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getDGNFRAME() OdDbDatabase::setDGNFRAME()

<group TD_SysVars_D>

<title REALWORLDSCALE> <toctitle REALWORLDSCALE>

Type bool Initial value true Read-Only No Saved In Database Versions 2007+

REALWORLDSCALE controls the rendering of materials with units set to real-world scale.

Value Description false Not rendered true Rendered

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getREALWORLDSCALE() OdDbDatabase::setREALWORLDSCALE()

<group TD_SysVars_R>

<title XCLIPFRAME> <toctitle XCLIPFRAME>

Type OdInt16 Initial value 2 Read-Only No Saved In Database Versions R14+

XCLIPFRAME controls the visibility of Xref clip boundaries.

Value Description 0 Xref clip boundaries are invisible and not plotted. 1 Xref clip boundaries are visible and plotted. 2 Xref clip boundaries are visible and not plotted.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getXCLIPFRAME() OdDbDatabase::setXCLIPFRAME()

<group TD_SysVars_X>

<title HPLAYER> <toctitle HPLAYER>

Type OdString Initial value "." Read-Only No Saved In Database Versions 2011+

HPLAYER stores the default layer of new hatches and fills.

Note: If is equal to "." then CLAYER is used for new hatch entities.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getHPLAYER() OdDbDatabase::setHPLAYER()

<group TD_SysVars_H>

<title POINTCLOUDCLIPFRAME> <toctitle POINTCLOUDCLIPFRAME>

Type OdInt16 Initial value 2 Read-Only No Saved In Database Versions 2013+

POINTCLOUDCLIPFRAME controls the visibility of point cloud object clipping boundary.

Value Description 0 Invisible 1 Is displayed and plotted 2 Is displayed but not plotted

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPOINTCLOUDCLIPFRAME() OdDbDatabase::setPOINTCLOUDCLIPFRAME()


<group TD_SysVars_P>

<title MLEADERSCALE> <toctitle MLEADERSCALE>

Type double Initial value 1.0 Read-Only No Saved In Database Versions 2009+

The MLEADERSCALE variable specifies the scale factor applied to multileaders. The scale factor affects the size of text, arrowheads, and other items that can be scaled, but does not affect measurements of lengths, angles, and coordinates.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getMLEADERSCALE() OdDbDatabase::setMLEADERSCALE()

For example, to get the value: OdRusBufPtr pRb = pDb->getSysVar(L"MLEADERSCALE"); double scale = pRb->getDouble(); odPrintConsoleString(L"nOverall scale factor = %g", scale); or // odPrintConsoleString(L"nOverall scale factor = %g ", pDb->getMLEADERSCALE()); For example, to set the value: OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtDouble, 0.75); pDb->setSysVar(L"MLEADERSCALE", pRb); or // pDb->setMLEADERSCALE(1.5);

<group TD_SysVars_M>

◆ ValidateRange() [3/9]

const OdCmTransparency const OdCmTransparency const OdCmColor const OdCmColor const OdCmColor const OdCmColor const OdCmTransparency const OdCmTransparency ValidateRange ( ,
 
)

<title DIMAUNIT> <toctitle DIMAUNIT>

Type OdInt16 Initial value 0 Range 0 ... 4 Read-Only No Saved In Database Versions R13+

DIMAUNIT specifies the formatting for units in angular dimensions.

Value Description 0 Decimal Degrees 1 Degrees-Minutes-Seconds 2 Gradians 3 Radians 4 Surveyor's Units

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimaunit() OdDbDatabase::setDimaunit()    OdDbDimension::dimaunit() OdDbDimension::setDimaunit()    OdDbDimStyleTableRecord::dimaunit() OdDbDimStyleTableRecord::setDimaunit()

<group TD_SysVars_D>

<title DIMBLK> <toctitle DIMBLK>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions R12+

DIMBLK specifies the arrowhead block at the ends of dimension lines and leader lines. A null value specifies the default arrowhead is to be used.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimblk() OdDbDatabase::setDimblk()    OdDbDimension::dimblk() OdDbDimension::setDimblk()    OdDbDimStyleTableRecord::dimblk() OdDbDimStyleTableRecord::setDimblk()

<group TD_SysVars_D>

<title PROJECTNAME> <toctitle PROJECTNAME>

Type OdString Initial value "" Read-Only No Saved In Database Versions 2000+

PROJECTNAME specifies the project name associated with the database.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getPROJECTNAME() OdDbDatabase::setPROJECTNAME()


<group TD_SysVars_P>

<title HPINHERIT> <toctitle HPINHERIT>

Type bool Initial value false Read-Only No Saved In Database Versions 2006+

HPINHERIT specifies the hatch origin when hatch properties are inherited with the HATCH and HATCHEDIT commands.

Value Description false From HPORIGIN true From Source

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getHPINHERIT() OdDbDatabase::setHPINHERIT()


<group TD_SysVars_H>

<title VSADRAFTANGLEHIGH> <toctitle VSADRAFTANGLEHIGH>

Type double Initial value 3.0 Read-Only No Saved In Database Versions 2013+

The VSADRAFTANGLEHIGH variable stores a high angle value at which a surface displays as green tint when draft analysis is performed. The draft angle defines an angle between the surface normal and UCS plane and is measured in the range –90 to 90 degrees.

Value Description –90 Opposite to the construction plane. 0.0 Perpendicular to the construction plane. 90.0 Parallel to the construction plane.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::getVSADRAFTANGLEHIGH() OdDbDatabase::setVSADRAFTANGLEHIGH()

For example, to get the value: OdRusBufPtr pRb = pDb->getSysVar(L"VSADRAFTANGLEHIGH"); double angle = pRb->getDouble(); odPrintConsoleString(L"nHigh draft angle = %g", angle); or // odPrintConsoleString(L"nHigh draft angle = %g", pDb->getVSACURVATUREHIGH()); For example, to set the value: OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtDouble, 6.5); pDb->setSysVar(L"VSADRAFTANGLEHIGH", pRb); or // pDb->setVSADRAFTANGLEHIGH(8.0);

<group TD_SysVars_V>

◆ ValidateRange() [4/9]

ValidateRange ( ,
 
)

<title DIMAZIN> <toctitle DIMAZIN>

Type OdInt16 Initial value 0 Range 0 ... 3 Read-Only No Saved In Database Versions 2000+

DIMAZIN controls zero suppression in angular dimensions.

Value Description 0 Display leading and trailing decimal zeros. 1 Suppress leading decimal zeros. 2 Suppress trailing decimal zeros. 3 Suppress leading and trailing decimal zeros.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimazin() OdDbDatabase::setDimazin()    OdDbDimension::dimazin() OdDbDimension::setDimazin()    OdDbDimStyleTableRecord::dimazin() OdDbDimStyleTableRecord::setDimazin()

<group TD_SysVars_D>

<title DIMLDRBLK> <toctitle DIMLDRBLK>

Type OdDbObjectId Initial value OdDbObjectId::kNull Read-Only No Saved In Database Versions 2000+

DIMLDRBLK specifies the arrowhead block at the ends of leader lines. A null value specifies the default arrowhead is to be used. Some predefined arrowhead types:

<image DIMLDRBLK.gif>

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimldrblk() OdDbDatabase::setDimldrblk()    OdDbDimension::dimldrblk() OdDbDimension::setDimldrblk()    OdDbDimStyleTableRecord::dimldrblk() OdDbDimStyleTableRecord::setDimldrblk()    OdDbLeader::dimldrblk() OdDbLeader::setDimldrblk()

<group TD_SysVars_D>

<title DIMTDEC> <toctitle DIMTDEC>

Type OdInt16 Initial value 4 | 2 Range 0 ... 8 Read-Only No Saved In Database Versions R13+

DIMTDEC specifies the number of decimal places in tolerance values for primary units in dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtdec() OdDbDatabase::setDimtdec()    OdDbDimension::dimtdec() OdDbDimension::setDimtdec()    OdDbDimStyleTableRecord::dimtdec() OdDbDimStyleTableRecord::setDimtdec()

<group TD_SysVars_D>

◆ ValidateRange() [5/9]

ValidateRange ( ,
 
)

<title DIMALTF> <toctitle DIMALTF>

Type double Initial value 25.4 | (1.0 / 25.4) Read-Only No Saved In Database Versions R12+

DIMALTF specifies the distance multiplier for alternate measurements in dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimaltf() OdDbDatabase::setDimaltf()    OdDbDimension::dimaltf() OdDbDimension::setDimaltf()    OdDbDimStyleTableRecord::dimaltf() OdDbDimStyleTableRecord::setDimaltf()

<group TD_SysVars_D>

<title DIMALTTZ> <toctitle DIMALTTZ>

Type OdUInt8 Initial value 0 Range 0 ... 15 Read-Only No Saved In Database Versions R13+

DIMALTTZ controls zero suppression in tolerance values in alternate measurements in dimensions.

Value Description 0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.

Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimalttz() OdDbDatabase::setDimalttz()    OdDbDimension::dimalttz() OdDbDimension::setDimalttz()    OdDbDimStyleTableRecord::dimalttz() OdDbDimStyleTableRecord::setDimalttz()

<group TD_SysVars_D>

<title DIMDLE> <toctitle DIMDLE>

Type double Initial value 0.0 Read-Only No Saved In Database Versions R12+

DIMDLE specifies the distance dimension lines extend beyond extension lines when arrowheads are architectural, integral, oblique, tick, or none.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimdle() OdDbDatabase::setDimdle()    OdDbDimension::dimdle() OdDbDimension::setDimdle()    OdDbDimStyleTableRecord::dimdle() OdDbDimStyleTableRecord::setDimdle()


<group TD_SysVars_D>

<title DIMTFAC> <toctitle DIMTFAC>

Type double Initial value 1.0 Read-Only No Saved In Database Versions R12+

DIMTFAC specifies, as a factor of DIMTXT, the size of tolerance and fraction text in dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtfac() OdDbDatabase::setDimtfac()    OdDbDimension::dimtfac() OdDbDimension::setDimtfac()    OdDbDimStyleTableRecord::dimtfac() OdDbDimStyleTableRecord::setDimtfac()


<group TD_SysVars_D>

<title MENUNAME> <toctitle MENUNAME>

Type OdString Initial value "." Read-Only No Saved In Database Versions R12+

MENUNAME returns the path and file name of the customization file.

Access Methods OdDbDatabase::getMENUNAME() OdDbDatabase::setMENUNAME()

<group TD_SysVars_M>

◆ ValidateRange() [6/9]

ValidateRange ( ,
DBL_MAX   
)

<title DIMALTTD> <toctitle DIMALTTD>

Type OdInt16 Initial value 2(imperial) | 3(metric) Range 0 ... 8 Read-Only No Saved In Database Versions R13+

DIMALTTD specifies the number of decimal places in tolerance values in alternate measurements in dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimalttd() OdDbDatabase::setDimalttd()    OdDbDimension::dimalttd() OdDbDimension::setDimalttd()    OdDbDimStyleTableRecord::dimalttd() OdDbDimStyleTableRecord::setDimalttd()

<group TD_SysVars_D>

<title DIMATFIT> <toctitle DIMATFIT>

Type OdInt16 Initial value 3 Range 0 ... 3 Read-Only No Saved In Database Versions 2000+

DIMATFIT specifies how arrows and text are placed when they do not fit within the extension lines of dimensions.

Value Description 0 Moves text and arrows outside extension lines. 1 Moves arrows, then text, outside extension lines. When DIMTMOVE == 1, a leader is added to moved text 2 Moves text, then arrows, outside extension lines. 3 Moves text or arrows for best fit.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimatfit() OdDbDatabase::setDimatfit()    OdDbDimension::dimatfit() OdDbDimension::setDimatfit()    OdDbDimStyleTableRecord::dimatfit() OdDbDimStyleTableRecord::setDimatfit()

<group TD_SysVars_D>

<title DIMDLI> <toctitle DIMDLI>

Type double Initial value 0.38 | 3.75 Read-Only No Saved In Database Versions R12+

DIMDLI specifies distance between dimension lines for baseline dimensions.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimdli() OdDbDatabase::setDimdli()    OdDbDimension::dimdli() OdDbDimension::setDimdli()    OdDbDimStyleTableRecord::dimdli() OdDbDimStyleTableRecord::setDimdli()


<group TD_SysVars_D>

◆ ValidateRange() [7/9]

ValidateRange ( ,
 
)

<title DIMLWD> <toctitle DIMLWD>

Type OdDb::LineWeight Initial value OdDb::kLnWtByBlock Read-Only No Saved In Database Versions 2000+

DIMLWD specifies the lineweight for dimension lines. Some specific values:

Value Description OdDb::kLnWtByLayer Lightweight is set to "ByLayer" OdDb::kLnWtByBlock Lightweight is set to "ByBlock" OdDb::kLnWtByLwDefault Lightweight is set to "Default", which is controlled by LWDEFAULT system variable

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()   OdDbDatabase::dimlwd() OdDbDatabase::setDimlwd()    OdDbDimension::dimlwd() OdDbDimension::setDimlwd()    OdDbDimStyleTableRecord::dimldrblk() OdDbDimStyleTableRecord::setDimldrblk()    OdDbLeader::dimldrblk() OdDbLeader::setDimldrblk()

See also
<link LWDEFAULT, LWDEFAULT>

<group TD_SysVars_D>

◆ ValidateRange() [8/9]

ValidateRange ( ,
 
)

<title DIMALTZ> <toctitle DIMALTZ>

Type OdUInt8 Initial value 0 Range 0 ... 15 Read-Only No Saved In Database Versions R13+

DIMALTZ controls zero suppression in alternate measurements in dimensions.

Value Description 0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.

Values 0-3 affect only feet-and-inch dimensions, and may be combined with values 4-12.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimaltz() OdDbDatabase::setDimaltz()    OdDbDimension::dimaltz() OdDbDimension::setDimaltz()    OdDbDimStyleTableRecord::dimaltz() OdDbDimStyleTableRecord::setDimaltz()


<group TD_SysVars_D>

◆ ValidateRange() [9/9]

ValidateRange ( DBL_EPSILON  ,
DBL_MAX   
)

<title DIMALTRND> <toctitle DIMALTRND>

Type double Initial value 0.0 Read-Only No Saved In Database Versions 2000+

DIMALTRND specifies the rounding of alternate measurements in dimensions. If DIMALTRND == 0.0, no rounding is performed.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimaltrnd() OdDbDatabase::setDimaltrnd()    OdDbDimension::dimaltrnd() OdDbDimension::setDimaltrnd()    OdDbDimStyleTableRecord::dimaltrnd() OdDbDimStyleTableRecord::setDimaltrnd()

<group TD_SysVars_D>

◆ ValidateTextStyle()

ValidateTextStyle ( NullIdAllowed  )

<title DIMTXT> <toctitle DIMTXT>

Type double Initial value 0.18 | 2.5 Read-Only No Saved In Database Versions R12+

DIMTXT specifies the size of the dimension text.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimtxt() OdDbDatabase::setDimtxt()    OdDbDimension::dimtxt() OdDbDimension::setDimtxt()    OdDbDimStyleTableRecord::dimtxt() OdDbDimStyleTableRecord::setDimtxt()    OdDbFcf::dimtxt() OdDbFcf::setDimtxt()    OdDbLeader::dimtxt() OdDbLeader::setDimtxt()

<group TD_SysVars_D>

◆ VAR_DEF()

VAR_DEF ( OdInt16  ,
adec  ,
179  ,
(0)  ,
(0)  ,
()  ,
ValidateRange(0, 8)   
)

Dimension variables definitions <title DIMADEC> <toctitle DIMADEC>

Type OdInt16 Initial value 0 Range –1 ... 8 Read-Only No Saved In Database Versions R14+

DIMADEC specifies the number of decimal places in angular dimensions. If DIMADEC == –1, the number of decimal places is determined by DIMDEC.

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimadec() OdDbDatabase::setDimadec()    OdDbDimension::dimadec() OdDbDimension::setDimadec()    OdDbDimStyleTableRecord::dimadec() OdDbDimStyleTableRecord::setDimadec()

See also
<link DIMDEC, DIMDEC>

<group TD_SysVars_D> <title DIMALT> <toctitle DIMALT>

Type bool Initial value false Read-Only No Saved In Database Versions R12+

DIMALT controls the display of alternate measurements in dimensions.

Value Description false Disabled true Enabled

Access Methods OdDbDatabase::getSysVar() OdDbDatabase::setSysVar()    OdDbDatabase::dimalt() OdDbDatabase::setDimalt()    OdDbDimension::dimalt() OdDbDimension::setDimalt()    OdDbDimStyleTableRecord::dimalt() OdDbDimStyleTableRecord::setDimalt()

<group TD_SysVars_D>

Variable Documentation

◆ alt

alt

Definition at line 165 of file DimVarDefs.h.

◆ altd

altd

Definition at line 199 of file DimVarDefs.h.

◆ altf

altf

Definition at line 234 of file DimVarDefs.h.

◆ altmzf

altmzf

Definition at line 3063 of file DimVarDefs.h.

◆ altmzs

altmzs

Definition at line 3072 of file DimVarDefs.h.

◆ altrnd

altrnd

Definition at line 269 of file DimVarDefs.h.

◆ alttd

alttd

Definition at line 304 of file DimVarDefs.h.

◆ alttz

alttz

Definition at line 352 of file DimVarDefs.h.

◆ altu

altu

Definition at line 401 of file DimVarDefs.h.

◆ altz

altz

Definition at line 449 of file DimVarDefs.h.

◆ apost

apost

Definition at line 486 of file DimVarDefs.h.

◆ arcsym

arcsym

Definition at line 2915 of file DimVarDefs.h.

◆ asz

asz

Definition at line 523 of file DimVarDefs.h.

◆ atfit

atfit

Definition at line 566 of file DimVarDefs.h.

◆ aunit

aunit

Definition at line 610 of file DimVarDefs.h.

◆ azin

azin

Definition at line 653 of file DimVarDefs.h.

◆ blk

blk

Definition at line 688 of file DimVarDefs.h.

◆ blk1

blk1

Definition at line 723 of file DimVarDefs.h.

◆ blk2

blk2

Definition at line 758 of file DimVarDefs.h.

◆ cen

cen

Definition at line 805 of file DimVarDefs.h.

◆ clrd

clrd

Definition at line 846 of file DimVarDefs.h.

◆ clre

clre

Definition at line 881 of file DimVarDefs.h.

◆ clrt

clrt

Definition at line 918 of file DimVarDefs.h.

◆ dec

dec

Definition at line 953 of file DimVarDefs.h.

◆ dle

dle

Definition at line 988 of file DimVarDefs.h.

◆ dli

dli

Definition at line 1023 of file DimVarDefs.h.

◆ dsep

dsep

Definition at line 1057 of file DimVarDefs.h.

◆ exe

exe

Definition at line 1095 of file DimVarDefs.h.

◆ exo

exo

Definition at line 1132 of file DimVarDefs.h.

◆ false

false

Definition at line 165 of file DimVarDefs.h.

◆ frac

frac

Definition at line 1177 of file DimVarDefs.h.

◆ fxl

fxl

Definition at line 2710 of file DimVarDefs.h.

◆ fxlon

fxlon

Definition at line 2753 of file DimVarDefs.h.

◆ gap

gap

Definition at line 1222 of file DimVarDefs.h.

◆ jogang

jogang

Definition at line 2791 of file DimVarDefs.h.

◆ just

just

Definition at line 1266 of file DimVarDefs.h.

◆ ldrblk

ldrblk

Definition at line 1306 of file DimVarDefs.h.

◆ lfac

lfac

Definition at line 1341 of file DimVarDefs.h.

◆ lim

lim

Definition at line 1381 of file DimVarDefs.h.

◆ ltex1

ltex1

Definition at line 2983 of file DimVarDefs.h.

◆ ltex2

ltex2

Definition at line 3017 of file DimVarDefs.h.

◆ ltype

ltype

Definition at line 2949 of file DimVarDefs.h.

◆ lunit

lunit

Definition at line 1426 of file DimVarDefs.h.

◆ lwd

lwd

Definition at line 1474 of file DimVarDefs.h.

◆ lwe

lwe

Definition at line 1519 of file DimVarDefs.h.

◆ mzf

mzf

Definition at line 3045 of file DimVarDefs.h.

◆ mzs

mzs

Definition at line 3054 of file DimVarDefs.h.

◆ OdaPI4

OdaPI4

Definition at line 2791 of file DimVarDefs.h.

◆ post

post

Definition at line 1556 of file DimVarDefs.h.

◆ rnd

rnd

Definition at line 1591 of file DimVarDefs.h.

◆ sah

sah

Definition at line 1635 of file DimVarDefs.h.

◆ scale

scale

Definition at line 1684 of file DimVarDefs.h.

◆ sd1

sd1

Definition at line 1725 of file DimVarDefs.h.

◆ sd2

sd2

Definition at line 1766 of file DimVarDefs.h.

◆ se1

se1

Definition at line 1807 of file DimVarDefs.h.

◆ se2

se2

Definition at line 1847 of file DimVarDefs.h.

◆ soxd

soxd

Definition at line 1888 of file DimVarDefs.h.

◆ tad

tad

Definition at line 1935 of file DimVarDefs.h.

◆ tdec

tdec

Definition at line 1971 of file DimVarDefs.h.

◆ tfac

tfac

Definition at line 2005 of file DimVarDefs.h.

◆ tfill

tfill

Definition at line 2836 of file DimVarDefs.h.

◆ tfillclr

tfillclr

Definition at line 2873 of file DimVarDefs.h.

◆ tih

tih

Definition at line 2046 of file DimVarDefs.h.

◆ tix

tix

Definition at line 2087 of file DimVarDefs.h.

◆ tm

tm

Definition at line 2122 of file DimVarDefs.h.

◆ tmove

tmove

Definition at line 2167 of file DimVarDefs.h.

◆ tofl

tofl

Definition at line 2207 of file DimVarDefs.h.

◆ toh

toh

Definition at line 2247 of file DimVarDefs.h.

◆ tol

tol

Definition at line 2287 of file DimVarDefs.h.

◆ tolj

tolj

Definition at line 2329 of file DimVarDefs.h.

◆ tp

tp

Definition at line 2363 of file DimVarDefs.h.

◆ true

Definition at line 2046 of file DimVarDefs.h.

◆ tsz

tsz

Definition at line 2425 of file DimVarDefs.h.

◆ tvp

tvp

Definition at line 2461 of file DimVarDefs.h.

◆ txsty

txsty

Definition at line 2495 of file DimVarDefs.h.

◆ txt

txt

Definition at line 2535 of file DimVarDefs.h.

◆ txtdirection

txtdirection

Definition at line 3036 of file DimVarDefs.h.

◆ tzin

tzin

Definition at line 2583 of file DimVarDefs.h.

◆ upt

upt

Definition at line 2623 of file DimVarDefs.h.

◆ zin

zin

Definition at line 2671 of file DimVarDefs.h.