CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdDbDimension Class Reference

#include <DbDimension.h>

Inheritance diagram for OdDbDimension:
OdDbEntity OdDbObject OdGiDrawable OdRxObject OdDb2LineAngularDimension OdDb3PointAngularDimension OdDbAlignedDimension OdDbArcDimension OdDbDiametricDimension OdDbOrdinateDimension OdDbRadialDimension OdDbRadialDimensionLarge OdDbRotatedDimension

Public Types

enum  DimInspect {
  kShapeRemove = 0x00 , kShapeRound = 0x01 , kShapeAngular = 0x02 , kShapeNone = 0x04 ,
  kShapeLabel = 0x10 , kShapeRate = 0x20
}
 
- Public Types inherited from OdDbEntity
enum  VisualStyleType { kFullVisualStyle , kFaceVisualStyle , kEdgeVisualStyle }
 
- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground , kEnvironmentBackground = 16 , kCustomBackground
}
 

Public Member Functions

 DWGMAP_DECLARE_MEMBERS (OdDbDimension)
 
 OdDbDimension ()
 
OdGePoint3d textPosition () const
 
void setTextPosition (const OdGePoint3d &textPosition)
 
bool isUsingDefaultTextPosition () const
 
void useSetTextPosition ()
 
void useDefaultTextPosition ()
 
OdGeVector3d normal () const
 
void setNormal (const OdGeVector3d &normal)
 
virtual bool isPlanar () const
 
virtual OdResult getPlane (OdGePlane &plane, OdDb::Planarity &planarity) const
 
double elevation () const
 
void setElevation (double elevation)
 
const OdString dimensionText () const
 
void setDimensionText (const OdString &dimensionText)
 
bool getDimensionTextMoved () const
 
void setDimensionTextMoved (bool bValue)
 
double textRotation () const
 
void setTextRotation (double textRotation)
 
OdDbObjectId dimensionStyle () const
 
void setDimensionStyle (OdDbObjectId objectID)
 
OdDbMText::AttachmentPoint textAttachment () const
 
void setTextAttachment (OdDbMText::AttachmentPoint attachmentPoint)
 
OdDb::LineSpacingStyle textLineSpacingStyle () const
 
void setTextLineSpacingStyle (OdDb::LineSpacingStyle lineSpacingStyle)
 
double textLineSpacingFactor () const
 
void setTextLineSpacingFactor (double lineSpacingFactor)
 
void getDimstyleData (OdDbDimStyleTableRecord *pRecord) const
 
void setDimstyleData (const OdDbDimStyleTableRecord *pDimstyle)
 
void setDimstyleData (OdDbObjectId dimstyleID)
 
double horizontalRotation () const
 
void setHorizontalRotation (double horizontalRotation)
 
OdDbObjectId dimBlockId () const
 
void setDimBlockId (const OdDbObjectId &dimBlockId, bool singleReferenced=true)
 
bool isSingleDimBlockReference () const
 
OdGePoint3d dimBlockPosition () const
 
void setDimBlockPosition (const OdGePoint3d &dimBlockPosition)
 
double dimBlockRotation () const
 
void setDimBlockRotation (double dimBlockRotation)
 
OdGeScale3d dimBlockScale () const
 
void setDimBlockScale (const OdGeScale3d &dimBlockScale)
 
OdGeMatrix3d dimBlockTransform () const
 
void recomputeDimBlock (bool forceUpdate=true)
 
double getMeasurement () const
 
double measurement ()
 
OdUInt16 getBgrndTxtColor (OdCmColor &bgrndTxtColor) const
 
void setBgrndTxtColor (const OdCmColor &bgrndTxtColor, OdUInt16 bgrndTxtFlags)
 
bool getExtLineFixLenEnable () const
 
void setExtLineFixLenEnable (bool extLineFixLenEnable)
 
double getExtLineFixLen () const
 
void setExtLineFixLen (double extLineFixLen)
 
OdDbObjectId getDimLinetype () const
 
void setDimLinetype (const OdDbObjectId &linetypeId)
 
OdDbObjectId getDimExt1Linetype () const
 
void setDimExt1Linetype (const OdDbObjectId &linetypeId)
 
OdDbObjectId getDimExt2Linetype () const
 
void setDimExt2Linetype (const OdDbObjectId &linetypeId)
 
bool getArrowFirstIsFlipped () const
 
bool getArrowSecondIsFlipped () const
 
void setArrowFirstIsFlipped (bool bIsFlipped)
 
void setArrowSecondIsFlipped (bool bIsFlipped)
 
bool inspection () const
 
void setInspection (bool val)
 
int inspectionFrame () const
 
void setInspectionFrame (int frame)
 
OdString inspectionLabel () const
 
void setInspectionLabel (const OdString &label)
 
OdString inspectionRate () const
 
void setInspectionRate (const OdString &label)
 
 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, 8)) VAR_DEF(OdUInt8
 
 ValidateRange (0, 15)) VAR_DEF(OdInt16
 
 ValidateRange (1, 8)) VAR_DEF(OdUInt8
 
 ValidateRange (0, 15)) VAR_DEF(OdString
 
 OD_T (""))
 
 OD_T (""))
 
 ValidateNone ()) VAR_DEF(ODTDIST
 
 ValidateRange (0, DBL_MAX)) ANNOVAR_DEF(OdInt16
 
 ValidateRange (0, 3)) VAR_DEF(OdInt16
 
 ValidateRange (0, 4)) VAR_DEF(OdInt16
 
 ValidateRange (0, 3)) BLKVAR_DEF(ODTARROWBLK
 
 ValidateDimBlock ()) BLKVAR_DEF(ODTARROWBLK
 
 ValidateDimBlock ()) BLKVAR_DEF(ODTARROWBLK
 
 ValidateDimBlock ()) VAR_DEF(ODTDIST
 
 ValidateNone ()) VAR_DEF(OdCmColor
 
 ValidateColor ()) VAR_DEF(OdCmColor
 
 ValidateColor ()) VAR_DEF(OdCmColor
 
 ValidateColor ()) VAR_DEF(OdInt16
 
 ValidateRange (0, 8)) VAR_DEF(ODTDIST
 
 ValidateRange (0, DBL_MAX)) VAR_DEF(ODTDIST
 
 ValidatePositive ()) VAR_DEF(ODTDECSEP
 
 ValidateDecSep ()) VAR_DEF(ODTDIST
 
 ValidatePositive ()) VAR_DEF(ODTDIST
 
 ValidatePositive ()) VAR_DEF(OdInt16
 
 ValidateRange (0, 2)) VAR_DEF(ODTDIST
 
 ValidateNone ()) VAR_DEF(OdUInt16
 
 ValidateRange (0, 4)) VAR_DEF(ODTARROWBLK
 
 ValidateDimBlock ()) VAR_DEF(double
 
 ValidateNone ()) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(OdInt16
 
 ValidateRange (1, 6)) VAR_DEF(ODTDB_LINEWEIGHT
 
 ValidateLineWeight ()) VAR_DEF(ODTDB_LINEWEIGHT
 
 ValidateLineWeight ()) VAR_DEF(OdString
 
 OD_T (""))
 
 OD_T (""))
 
 ValidateNone ()) VAR_DEF(ODTDIST
 
 ValidatePositive ()) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(double
 
 ValidatePositive ()) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(bool
 
 ValidateNone ()) ANNOVAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(OdInt16
 
 ValidateRange (0, 4)) VAR_DEF(OdInt16
 
 ValidateRange (0, 8)) VAR_DEF(double
 
 ValidatePositiveNonZero ()) VAR_DEF(bool
 
 ValidateNone ()) ANNOVAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(ODTDIST
 
 ValidateNone ()) ANNOVAR_DEF(OdInt16
 
 ValidateRange (0, 2)) ANNOVAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(OdUInt8
 
 ValidateRange (0, 2)) VAR_DEF(ODTDIST
 
 ValidateNone ()) VAR_DEF(ODTDIST
 
 ValidatePositive ()) VAR_DEF(double
 
 ValidateNone ()) VAR_DEF(ODTTEXTSTYLEID
 
 ValidateTextStyle (NullIdAllowed)) VAR_DEF(ODTDIST
 
 ValidatePositiveNonZero ()) VAR_DEF(OdUInt8
 
 ValidateRange (0, 15)) VAR_DEF(bool
 
 ValidateNone ()) VAR_DEF(OdUInt8
 
 ValidateRange (0, 15)) VAR_DEF(ODTDIST
 
 ValidateNone ()) VAR_DEF(bool
 
 ValidateBOOL ()) VAR_DEF(ODTORIENT
 
 ValidateDouble (5.0 *OdaPI/180.0, OdaPI2)) VAR_DEF(OdInt16
 
 ValidateRange (0, 2)) VAR_DEF(OdCmColor
 
 ValidateNone ()) VAR_DEF(OdInt16
 
 ValidateRange (0, 2)) VAR_DEF(ODTLINETYPEID
 
 ValidateLinetype (true)) VAR_DEF(ODTLINETYPEID
 
 ValidateLinetype (true)) VAR_DEF(ODTLINETYPEID
 
 ValidateLinetype (true)) VAR_DEF(bool
 
 ValidateBOOL ()) VAR_DEF(double
 
 ValidateNone ()) VAR_DEF(OdString
 
 OD_T (""))
 
 OD_T (""))
 
 ValidateNone ()) VAR_DEF(double
 
 ValidateNone ()) VAR_DEF(OdString
 
 OD_T (""))
 
 OD_T (""))
 
 ValidateNone ()) virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
OdResult subGetClassID (void *pClsid) const
 
OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
bool subWorldDraw (OdGiWorldDraw *pWd) const
 
void subViewportDraw (OdGiViewportDraw *pVd) const
 
virtual OdResult subExplode (OdRxObjectPtrArray &entitySet) const ODRX_OVERRIDE
 
void subClose ()
 
virtual void modified (const OdDbObject *pObject)
 
virtual OdResult subTransformBy (const OdGeMatrix3d &xfm) ODRX_OVERRIDE
 
virtual OdResult subGetTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const ODRX_OVERRIDE
 
void subSetDatabaseDefaults (OdDbDatabase *pDb, bool doSubents)
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap) ODRX_OVERRIDE
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
void formatMeasurement (OdString &formattedMeasurement, double measurementValue, const OdString &dimensionText)
 
OdResult explodeGeometry (OdRxObjectPtrArray &entitySet) const
 
OdDbObjectPtr dimBlock (OdDb::OpenMode openMode=OdDb::kForRead)
 
virtual OdResult subGetCompoundObjectTransform (OdGeMatrix3d &xM) const ODRX_OVERRIDE
 
bool isDynamicDimension () const
 
void setDynamicDimension (bool bDynamic)
 
virtual bool isConstraintObject () const
 
OdResult isConstraintObject (bool &isConstraintObject, bool &hasExpression, bool &isReferenceConstraint) const
 
bool isConstraintDynamic () const
 
OdResult setConstraintDynamic (bool bDynamic)
 
bool shouldParticipateInOPM () const
 
void setShouldParticipateInOPM (bool bShouldParticipate)
 
void setDIMTALN (bool val)
 
bool getDIMTALN () const
 
void removeTextField ()
 
void fieldToMText (OdDbMTextPtr &pDimMText)
 
void fieldFromMText (OdDbMTextPtr &pDimMText)
 
OdGeMatrix3d getEcs () const
 
void resetTextDefinedSize ()
 
void setTextDefinedSize (double width, double height)
 
void textDefinedSize (double &width, double &height) const
 
OdResult subGetGeomExtents (OdGeExtents3d &extents) const
 
- Public Member Functions inherited from OdDbEntity
 ODDB_DECLARE_MEMBERS (OdDbEntity)
 
 OdDbEntity ()
 
OdDbObjectId blockId () const
 
OdCmColor color () const
 
virtual OdResult setColor (const OdCmColor &color, bool doSubents=true)
 
OdUInt16 colorIndex () const
 
virtual OdCmEntityColor entityColor () const
 
virtual OdResult setColorIndex (OdUInt16 colorIndex, bool doSubents=true)
 
OdDbObjectId colorId () const
 
virtual OdResult setColorId (OdDbObjectId colorId, bool doSubents=true)
 
OdCmTransparency transparency () const
 
virtual OdResult setTransparency (const OdCmTransparency &transparency, bool doSubents=true)
 
OdString plotStyleName () const
 
OdDb::PlotStyleNameType getPlotStyleNameId (OdDbObjectId &plotStyleNameId) const
 
virtual OdResult setPlotStyleName (const OdString &plotStyleName, bool doSubents=true)
 
virtual OdResult setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbObjectId plotStyleNameId=OdDbObjectId::kNull, bool doSubents=true)
 
OdString layer () const
 
OdDbObjectId layerId () const
 
virtual OdResult setLayer (const OdString &layerName, bool doSubents=true, bool allowHiddenLayer=false)
 
virtual OdResult setLayer (OdDbObjectId layerId, bool doSubents=true, bool allowHiddenLayer=false)
 
OdString linetype () const
 
OdDbObjectId linetypeId () const
 
virtual OdResult setLinetype (const OdString &linetypeName, bool doSubents=true)
 
virtual OdResult setLinetype (OdDbObjectId linetypeID, bool doSubents=true)
 
OdString material () const
 
OdDbObjectId materialId () const
 
virtual OdResult setMaterial (const OdString &materialName, bool doSubents=true)
 
virtual OdResult setMaterial (OdDbObjectId materialID, bool doSubents=true)
 
OdDbObjectId visualStyleId (VisualStyleType vstype=kFullVisualStyle) const
 
virtual OdResult setVisualStyle (OdDbObjectId visualStyleId, VisualStyleType vstype=kFullVisualStyle, bool doSubents=true)
 
virtual const OdGiMappermaterialMapper () const
 
virtual void setMaterialMapper (const OdGiMapper *mapper, bool doSubents=true)
 
double linetypeScale () const
 
virtual OdResult setLinetypeScale (double linetypeScale, bool doSubents=true)
 
OdDb::Visibility visibility () const
 
ODRX_SEALED_VIRTUAL OdResult setVisibility (OdDb::Visibility visibility, bool doSubents=true) ODRX_FINAL
 
OdDb::Visibility tempVisibility () const
 
void setTempVisibility (OdDb::Visibility visibility)
 
OdDb::LineWeight lineWeight () const
 
virtual OdResult setLineWeight (OdDb::LineWeight lineWeight, bool doSubents=true)
 
virtual bool castShadows () const
 
virtual void setCastShadows (bool castShadows)
 
virtual bool receiveShadows () const
 
virtual void setReceiveShadows (bool receiveShadows)
 
virtual OdDb::CollisionType collisionType () const
 
void setPropertiesFrom (const OdDbEntity *pSource, bool doSubents=true)
 
void subHandOverTo (OdDbObject *pNewObject)
 
ODRX_SEALED_VIRTUAL OdResult transformBy (const OdGeMatrix3d &xfm) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult explode (OdRxObjectPtrArray &entitySet) const ODRX_FINAL
 
virtual OdResult explodeToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual OdResult explodeGeometryToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
void setDatabaseDefaults (OdDbDatabase *pDb=0, bool doSubents=false)
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdGiDrawabledrawable ()
 
virtual void subList () const
 
void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual OdResult subErase (bool erasing) ODRX_OVERRIDE
 
virtual OdResult subOpen (OdDb::OpenMode mode) ODRX_OVERRIDE
 
void recordGraphicsModified (bool graphicsModified=true)
 
virtual void copyFrom (const OdRxObject *pSource)
 
ODRX_SEALED_VIRTUAL void list () const ODRX_FINAL
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void highlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool isContentSnappable () const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdGePoint3dArray &gripPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getStretchPoints (OdGePoint3dArray &stretchPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_FINAL
 
virtual void dragStatus (const OdDb::DragStat status)
 
ODRX_SEALED_VIRTUAL void gripStatus (const OdDb::GripStat status) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool cloneMeForDragging () ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool hideMeForDragging () const ODRX_FINAL
 
virtual void saveAs (OdGiWorldDraw *pWd, OdDb::DwgVersion ver) const
 
ODRX_SEALED_VIRTUAL OdResult getCompoundObjectTransform (OdGeMatrix3d &xM) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_FINAL
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult deleteSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult addSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdDbEntityPtr subentPtr (const OdDbFullSubentPath &path) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult transformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getSubentClassId (const OdDbFullSubentPath &path, void *clsId) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void subentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity) ODRX_FINAL
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
virtual void addRef () override
 
virtual void release () ODRX_NOEXCEPT override
 
virtual long numRefs () const override
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
OdResult erase (bool eraseIt=true)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool hasXData (const OdChar *regappName=nullptr) const
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_FINAL
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo)
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_FINAL
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_FINAL
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Public Attributes

 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
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Protected Member Functions inherited from OdDbEntity
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual bool subCloneMeForDragging ()
 
virtual bool subHideMeForDragging () const
 
virtual void subGripStatus (const OdDb::GripStat status)
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const
 
virtual bool subIsContentSnappable () const
 
virtual OdResult subGetGripPoints (OdGePoint3dArray &gripPoints) const
 
virtual OdResult subMoveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subGetGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const
 
virtual OdResult subMoveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags)
 
virtual OdResult subGetStretchPoints (OdGePoint3dArray &stretchPoints) const
 
virtual OdResult subMoveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual void subHighlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const
 
virtual OdDb::Visibility subVisibility () const
 
virtual OdResult subSetVisibility (OdDb::Visibility visibility, bool doSubents=true)
 
virtual OdResult subDeleteSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subAddSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subMoveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags)
 
virtual OdResult subGetGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const
 
virtual OdResult subGetSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const
 
virtual OdResult subGetGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
 
virtual OdDbEntityPtr subSubentPtr (const OdDbFullSubentPath &path) const
 
virtual OdResult subTransformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform)
 
virtual OdResult subGetSubentClassId (const OdDbFullSubentPath &path, void *clsId) const
 
virtual OdResult subGetSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) const
 
virtual void subSubentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity)
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

This class is the base class for all Dimension classes in an OdDbDatabase instance.

<group OdDb_Classes>

\sa 
<link db_dimensions, Working with dimensions> 

Definition at line 52 of file DbDimension.h.

Member Enumeration Documentation

◆ DimInspect

Defines dimension inspection settings.

Enumerator
kShapeRemove 

No inspection label displays.

kShapeRound 

Inspection label displays with a rounded end (this is the default).

kShapeAngular 

Inspection label displays with an angular end.

kShapeNone 

Inspection label displays without a bounding shape.

kShapeLabel 

Inspection label displays with a prefix, including a separator and alpha field.

kShapeRate 

Inspection label displays at a specified frequency.

Definition at line 565 of file DbDimension.h.

Constructor & Destructor Documentation

◆ OdDbDimension()

OdDbDimension::OdDbDimension ( )

Constructor. Initializes fields with default values.

Member Function Documentation

◆ appendToOwner()

virtual void OdDbDimension::appendToOwner ( OdDbIdPair & idPair,
OdDbObject * pOwnerObject,
OdDbIdMapping & idMap )
virtual

This function appends this object to the specified owner object during the deep or wblock clone operation.

Parameters
idPair[in] Original-to-clone ID mapping record for this clone.
pOwnerObject[in] Pointer to the owner object.
idMap[in/out] ID mapping object of the cloning operation in progress.
Remarks
This callback is called before the IDs are translated in the target database so the implementer should use only methods certainly not traversing hierarchy in the target database. To follow clone's references properly they should be translated using the ID mapping object.

The default implementation appends this object to OdDbDictionary or throws the eInvalidOwnerObject exception if the owner object is not a kind of dictionary.

See also
<link OdDbObject::subDeepClone@OdDbIdMapping&@OdDbObject*@bool@const, subDeepClone()> <link OdDbObject::subWblockClone@OdDbIdMapping&@OdDbObject*@bool@const, subWblockClone()> <link OdDbObject::deepClone@OdDbIdMapping&@OdDbObject*@bool@const, deepClone()> <link OdDbObject::wblockClone@OdDbIdMapping&@OdDbObject*@bool@const, wblockClone()>

Reimplemented from OdDbObject.

◆ dimBlock()

OdDbObjectPtr OdDbDimension::dimBlock ( OdDb::OpenMode openMode = OdDb::kForRead)

Returns opened object that is returned by dimBlockId().

Parameters
openMode[in] Mode in which to open the object.

◆ dimBlockId()

OdDbObjectId OdDbDimension::dimBlockId ( ) const

Returns the Object ID of the dimension block (OdDbBlockTableRecord) associated with this Dimension entity (DXF 2).

◆ dimBlockPosition()

OdGePoint3d OdDbDimension::dimBlockPosition ( ) const

Returns the WCS relative position of the block associated with this Dimension entity (DXF 12).

Remarks
dimBlockPosition is the insertion point of the block with respect to the primary definition point (DXF 10) of the dimension block.

◆ dimBlockRotation()

double OdDbDimension::dimBlockRotation ( ) const

Returns the rotation angle of the dimension block referenced by this Dimension entity (DXF 54).

Remarks
All angles are expressed in radians.

◆ dimBlockScale()

OdGeScale3d OdDbDimension::dimBlockScale ( ) const

Returns the scale of the dimension block referenced by this Dimension entity.

Remarks
This is not saved to a DXF file.

◆ dimBlockTransform()

OdGeMatrix3d OdDbDimension::dimBlockTransform ( ) const

Returns the transformation matrix applied to dimension block referenced by this Dimension entity.

Remarks
The transformation consists of position, scale, rotation angle and normal. It does not include block's base point.

◆ dimensionStyle()

OdDbObjectId OdDbDimension::dimensionStyle ( ) const

Returns the Object ID of the dimension style (OdDbDimStyleTableRecord) for this Dimension entity (DXF 3).

◆ dimensionText()

const OdString OdDbDimension::dimensionText ( ) const

Returns the user-supplied dimension text for this Dimension Entity (DXF 1).

Remarks
If no text is to appear, "." will be returned. If only the default text is to appear, "" will be returned. The default text is represented as "<>" within the returned text.

◆ DWGMAP_DECLARE_MEMBERS()

OdDbDimension::DWGMAP_DECLARE_MEMBERS ( OdDbDimension )

◆ dwgOutFields()

virtual void OdDbDimension::dwgOutFields ( OdDbDwgFiler * pFiler) const
virtual

Writes the .dwg file data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are written.
Remarks

This function is called by dwgIn() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbEntity.

Reimplemented in OdDb2LineAngularDimension, OdDb3PointAngularDimension, OdDbAlignedDimension, OdDbArcDimension, OdDbDiametricDimension, OdDbOrdinateDimension, OdDbRadialDimension, OdDbRadialDimensionLarge, and OdDbRotatedDimension.

◆ dxfInFields()

virtual OdResult OdDbDimension::dxfInFields ( OdDbDxfFiler * pFiler)
virtual

Reads the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer from which data are read.
Returns
Returns the filer status.

This function is called by dxfIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbEntity.

Reimplemented in OdDb2LineAngularDimension, OdDb3PointAngularDimension, OdDbAlignedDimension, OdDbArcDimension, OdDbDiametricDimension, OdDbOrdinateDimension, OdDbRadialDimension, OdDbRadialDimensionLarge, and OdDbRotatedDimension.

◆ dxfInFields_R12()

virtual OdResult OdDbDimension::dxfInFields_R12 ( OdDbDxfFiler * pFiler)
virtual

Reads the DXF R12 format data of this object.

Parameters
pFiler[in] Pointer to the filer from which data are to be read.
Returns
Returns the filer status.

This function is called by dxfIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dxfInFields_R12(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfOutFields_R12(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbEntity.

Reimplemented in OdDb2LineAngularDimension, OdDb3PointAngularDimension, OdDbAlignedDimension, OdDbDiametricDimension, OdDbOrdinateDimension, OdDbRadialDimension, and OdDbRotatedDimension.

◆ dxfOutFields()

virtual void OdDbDimension::dxfOutFields ( OdDbDxfFiler * pFiler) const
virtual

Writes the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are to be written.
Remarks

This function is called by dxfOut() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbEntity.

Reimplemented in OdDb2LineAngularDimension, OdDb3PointAngularDimension, OdDbAlignedDimension, OdDbArcDimension, OdDbDiametricDimension, OdDbOrdinateDimension, OdDbRadialDimension, OdDbRadialDimensionLarge, and OdDbRotatedDimension.

◆ dxfOutFields_R12()

virtual void OdDbDimension::dxfOutFields_R12 ( OdDbDxfFiler * pFiler) const
virtual

Writes the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are to be written.
Returns
Returns the filer status.

This function is called by dxfOut() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 3) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbEntity.

Reimplemented in OdDb2LineAngularDimension, OdDb3PointAngularDimension, OdDbAlignedDimension, OdDbDiametricDimension, OdDbOrdinateDimension, OdDbRadialDimension, and OdDbRotatedDimension.

◆ elevation()

double OdDbDimension::elevation ( ) const

Returns the elevation of this entity in the OCS (DXF 30).

Remarks
The elevation is the distance from the WCS origin to the plane of this entity.

◆ explodeGeometry()

OdResult OdDbDimension::explodeGeometry ( OdRxObjectPtrArray & entitySet) const
virtual

Explodes this entity into a set of simpler entities.

Parameters
entitySet[out] Array of simpler entities.
Returns
eOk if successful, or an appropriate error code otherwise.

Reimplemented from OdDbEntity.

◆ fieldFromMText()

void OdDbDimension::fieldFromMText ( OdDbMTextPtr & pDimMText)

If pDimMText has a text field, this method copies that field and adds the copy to this object.

Parameters
pDimMText[in] OdDbMText object, from which the text will be copied.

◆ fieldToMText()

void OdDbDimension::fieldToMText ( OdDbMTextPtr & pDimMText)

If this object has a text field, this method copies the field and pastes the copy to pDimMText.

Parameters
pDimMText[in] OdDbMText object, to which the text will be copied.

◆ formatMeasurement()

void OdDbDimension::formatMeasurement ( OdString & formattedMeasurement,
double measurementValue,
const OdString & dimensionText )

Returns the formatted measurement value.

Parameters
formattedMeasurement[out] Receives the formatted measurement.
measurementValue[in] Measurement value to be formatted.
dimensionText[in] Dimension text for formatting
Remarks
measurementValue is formatted per the specified dimension text and the effective dimension style.

◆ getArrowFirstIsFlipped()

bool OdDbDimension::getArrowFirstIsFlipped ( ) const

Returns the flip flag of the first arrowhead for this Dimension entity.

◆ getArrowSecondIsFlipped()

bool OdDbDimension::getArrowSecondIsFlipped ( ) const

Returns the flip flag of the second arrowhead for this Dimension entity.

◆ getBgrndTxtColor()

OdUInt16 OdDbDimension::getBgrndTxtColor ( OdCmColor & bgrndTxtColor) const

Returns the background text color and flags for this Dimension entity. The background text flags value specifies the background fill of dimension text.

Parameters
bgrndTxtColor[out] Receives the background text color.
Returns
Background text flags.
Remarks
Background text flags value can be one of the following:
Description 0 No fill 1 Drawing background color 2 Color specified by DIMTFILLCLR
See also
<link db_dimensions_text_formatting, Formatting Dimension Text>

◆ getDimensionTextMoved()

bool OdDbDimension::getDimensionTextMoved ( ) const

◆ getDimExt1Linetype()

OdDbObjectId OdDbDimension::getDimExt1Linetype ( ) const

Returns the Object ID of the first extension line linetype for this Dimension entity.

◆ getDimExt2Linetype()

OdDbObjectId OdDbDimension::getDimExt2Linetype ( ) const

Returns the Object ID of the second extension line linetype for this Dimension entity.

◆ getDimLinetype()

OdDbObjectId OdDbDimension::getDimLinetype ( ) const

Returns the Object ID of the dimension line linetype for this Dimension entity.

◆ getDimstyleData()

void OdDbDimension::getDimstyleData ( OdDbDimStyleTableRecord * pRecord) const

Copies the dimension style settings, including overrides, of this Dimension entity into the specified dimension style table record.

Parameters
pRecord[out] Receives the effective dimension style data associated with entity.
Remarks
The copied data includes the dimension style data with all applicable overrides.

◆ getDIMTALN()

bool OdDbDimension::getDIMTALN ( ) const

Checks the value of the DIMTALN flag.

Returns
true if the DIMTALN flag is set to true, false - otherwise.
Remarks
Tolerance divided flag. Value true means '~' and false means '^'

◆ getEcs()

OdGeMatrix3d OdDbDimension::getEcs ( ) const
virtual

Returns the matrix which maps the plane coordinate system to the WCS.

Reimplemented from OdDbEntity.

◆ getExtLineFixLen()

double OdDbDimension::getExtLineFixLen ( ) const

Returns the extension line fixed length for this Dimension entity.

◆ getExtLineFixLenEnable()

bool OdDbDimension::getExtLineFixLenEnable ( ) const

Returns the extension line fixed length enable flag for this Dimension entity.

◆ getMeasurement()

double OdDbDimension::getMeasurement ( ) const

Returns the measurement (DXF 42) stored in this Dimension entity.

Remarks
Returns -1.0 if the stored measurement value is invalid.

Does not recompute the measurement.

This Dimension entity need not be opened for write to call this function.

See also
<link OdDbDimension::measurement, measurement() method>

◆ getPlane()

virtual OdResult OdDbDimension::getPlane ( OdGePlane & plane,
OdDb::Planarity & planarity ) const
virtual

Retrieves the WCS plane that this dimension contains. Sets planarity flag to OdDb::kPlanar.

Parameters
plane[out] WCS plane that this dimension contains.
planarity[out] Flag that states whether this dimension is planar or not.
Returns
eOk.

Reimplemented from OdDbEntity.

◆ horizontalRotation()

double OdDbDimension::horizontalRotation ( ) const

Returns the horizontal rotation angle for this Dimension entity (DXF 51).

Remarks
All angles are expressed in radians.

◆ inspection()

bool OdDbDimension::inspection ( ) const

Checks the inspection flag for this dimension.

Returns
true if the flag is set to true, false - otherwise.

◆ inspectionFrame()

int OdDbDimension::inspectionFrame ( ) const

\detials Returns the inspection frame value.

◆ inspectionLabel()

OdString OdDbDimension::inspectionLabel ( ) const

\detials Returns the inspection label value.

◆ inspectionRate()

OdString OdDbDimension::inspectionRate ( ) const

\detials Returns the inspection rate value.

◆ isConstraintDynamic()

bool OdDbDimension::isConstraintDynamic ( ) const

Checks if the object's constraint is dynamic.

Returns
true if the object's contstraint is dynamic, false - otherwise.

◆ isConstraintObject() [1/2]

virtual bool OdDbDimension::isConstraintObject ( ) const
virtual

Checks if the object is constrained.

Returns
true if the object is constrained, false - otherwise.

◆ isConstraintObject() [2/2]

OdResult OdDbDimension::isConstraintObject ( bool & isConstraintObject,
bool & hasExpression,
bool & isReferenceConstraint ) const

Not implemented yet.

◆ isDynamicDimension()

bool OdDbDimension::isDynamicDimension ( ) const

Checks if this dimension object is dynamic.

Returns
true if this dimension object is dynamic, false - otherwise.

◆ isPlanar()

virtual bool OdDbDimension::isPlanar ( ) const
inlinevirtual

Checks if this dimension is planar.

Returns
true by default since built-in dimensions are planar.

Reimplemented from OdDbEntity.

Definition at line 117 of file DbDimension.h.

◆ isSingleDimBlockReference()

bool OdDbDimension::isSingleDimBlockReference ( ) const

Returns true and only if this Dimension entity has the only reference to its associated OdDbBlockTableRecord (DXF 70 bit 0x20).

◆ isUsingDefaultTextPosition()

bool OdDbDimension::isUsingDefaultTextPosition ( ) const

Returns true if and only if the dimension text for this Dimension entity is in the default position (DXF 70, bit 0x80 == 0).

◆ measurement()

double OdDbDimension::measurement ( )

Returns the measurement (DXF 42) for this Dimension entity.

Remarks
Recomputes the measurement if the stored measurement value is invalid (-1.0).

This Dimension entity must be opened for write to call this function.

See also
<link OdDbDimension::getMeasurement@const, getMeasurement() method>

◆ modified()

virtual void OdDbDimension::modified ( const OdDbObject * pObject)
virtual

Notification function called whenever an object is opened OdDb::kForWrite, a function has been called that could modify the contents of this object, and this object is now being closed.

Parameters
pObject[in] Pointer to the object that is being closed after being modified.
Remarks
The default implementation of this function does nothing. This function can be overridden in custom classes.

Reimplemented from OdDbObject.

◆ normal()

OdGeVector3d OdDbDimension::normal ( ) const

Returns the WCS normal to the plane of this entity (DXF 210).

◆ OD_T() [1/8]

OdDbDimension::OD_T ( "" )

◆ OD_T() [2/8]

OdDbDimension::OD_T ( "" )

◆ OD_T() [3/8]

OdDbDimension::OD_T ( "" )

◆ OD_T() [4/8]

OdDbDimension::OD_T ( "" )

◆ OD_T() [5/8]

OdDbDimension::OD_T ( "" )

◆ OD_T() [6/8]

OdDbDimension::OD_T ( "" )

◆ OD_T() [7/8]

OdDbDimension::OD_T ( "" )

◆ OD_T() [8/8]

OdDbDimension::OD_T ( "" )

◆ recomputeDimBlock()

void OdDbDimension::recomputeDimBlock ( bool forceUpdate = true)

Recomputes the dimension block referenced by this Dimension entity.

Remarks
The OdDbBlockTableRecord of the dimension block is updated to reflect any changes made to this Dimension entity since the last time the block table record was updated.
Parameters
forceUpdate[in] If true, the OdDbBlockTableRecord is updated even if the dimension has not been changed.

◆ removeTextField()

void OdDbDimension::removeTextField ( )

Removes text field from this dimension object and deletes it from dictionary.

◆ resetTextDefinedSize()

void OdDbDimension::resetTextDefinedSize ( )

Resets defined width and defined height for MText.

◆ setArrowFirstIsFlipped()

void OdDbDimension::setArrowFirstIsFlipped ( bool bIsFlipped)

Sets the flip flag of the first arrowhead for this Dimension entity.

Parameters
bIsFlipped[in] Flip flag value.

◆ setArrowSecondIsFlipped()

void OdDbDimension::setArrowSecondIsFlipped ( bool bIsFlipped)

Sets the flip flag of the second arrowhead for this Dimension entity.

Parameters
bIsFlipped[in] Flip flag value.

◆ setBgrndTxtColor()

void OdDbDimension::setBgrndTxtColor ( const OdCmColor & bgrndTxtColor,
OdUInt16 bgrndTxtFlags )

Sets the background text color and flags for this Dimension entity. The background text flags value specifies the background fill of dimension text.

Parameters
bgrndTxtColor[in] Background text color.
bgrndTxtFlags[in] Background text flags.
Remarks
Background text flags value can be one of the following:
Description 0 No fill 1 Drawing background color 2 Color specified by DIMTFILLCLR
See also
<link db_dimensions_text_formatting, Formatting Dimension Text>

◆ setConstraintDynamic()

OdResult OdDbDimension::setConstraintDynamic ( bool bDynamic)

Sets a flag that indicates whether the constraint is dynamic or not.

Parameters
bDynamic[in] New flag value.
Returns
eOk if the operation completed successfully, or an appropriate error code otherwise.

◆ setDimBlockId()

void OdDbDimension::setDimBlockId ( const OdDbObjectId & dimBlockId,
bool singleReferenced = true )

Sets the Object ID of the dimension block (OdDbBlockTableRecord) associated with this Dimension entity.

Parameters
dimBlockId[in] Object ID of the OdDbBlockTableRecord.
singleReferenced[in] True if and only if the dimension block is referenced only by this Dimension entity (DXF 70 bit 0x20).

◆ setDimBlockPosition()

void OdDbDimension::setDimBlockPosition ( const OdGePoint3d & dimBlockPosition)

DOM

Sets the relative position of the dimension block referenced by this Dimension entity, in WCS (DXF 12).

Parameters
dimBlockPosition[in] Dimension block position.
Remarks
For internal use only. Dimension update sets it to 0,0,0

◆ setDimBlockRotation()

void OdDbDimension::setDimBlockRotation ( double dimBlockRotation)

DOM

Sets the rotation of the dimension block referenced by this Dimension entity (DXF 54).

Remarks
For internal use only. Dimension update sets it to 0.
Parameters
dimBlockRotation[in] Dimension block rotation in radians.

◆ setDimBlockScale()

void OdDbDimension::setDimBlockScale ( const OdGeScale3d & dimBlockScale)

DOM

Sets the scale of the dimension block referenced by this Dimension entity.

Remarks
For internal use only. Dimension update sets it to 1,1,1
Parameters
dimBlockScale[in] Dimension block scale.

◆ setDimensionStyle()

void OdDbDimension::setDimensionStyle ( OdDbObjectId objectID)

Sets the Object ID of the dimension style (OdDbDimStyleTableRecord) for this Dimension entity (DXF 3).

Parameters
objectID[in] Object ID.

◆ setDimensionText()

void OdDbDimension::setDimensionText ( const OdString & dimensionText)

Sets the user-supplied dimension text for this Dimension Entity (DXF 1).

Parameters
dimensionText[in] Dimension text.
Remarks
If no text is to appear, supply ".". If only the default text is to appear, supply an empty string "". The default text is represented as "<>" within the supplied text.

◆ setDimensionTextMoved()

void OdDbDimension::setDimensionTextMoved ( bool bValue)

◆ setDimExt1Linetype()

void OdDbDimension::setDimExt1Linetype ( const OdDbObjectId & linetypeId)

Sets the Object ID of the first extension line linetype for this Dimension entity.

Parameters
linetypeId[in] First extension line linetype Object ID.

◆ setDimExt2Linetype()

void OdDbDimension::setDimExt2Linetype ( const OdDbObjectId & linetypeId)

Sets the Object ID of the second extension line linetype for this Dimension entity.

Parameters
linetypeId[in] Second extension line linetype Object ID.

◆ setDimLinetype()

void OdDbDimension::setDimLinetype ( const OdDbObjectId & linetypeId)

Sets the Object ID of the dimension line linetype for this Dimension entity.

Parameters
linetypeId[in] Dimension line linetype Object ID.

◆ setDimstyleData() [1/2]

void OdDbDimension::setDimstyleData ( const OdDbDimStyleTableRecord * pDimstyle)

Copies the dimension style settings, including overrides, from the specified dimension style table record to this Dimension entity.

Parameters
pDimstyle[in] Pointer to a non- database -resident dimension style record.
Remarks
The copied data includes the dimension style with all applicable overrides.

◆ setDimstyleData() [2/2]

void OdDbDimension::setDimstyleData ( OdDbObjectId dimstyleID)

Copies the dimension style settings, including overrides, from the specified dimension style table record to this Dimension entity.

Parameters
dimstyleID[in] Database-resident dimension style record.
Remarks
The copied data includes the dimension style with all applicable overrides.

◆ setDIMTALN()

void OdDbDimension::setDIMTALN ( bool val)

Sets DIMTALN flag value.

Parameters
val[in] New flag value.
Remarks
Tolerance divided flag. Value true means '~' and false means '^'

◆ setDynamicDimension()

void OdDbDimension::setDynamicDimension ( bool bDynamic)

Sets a flag that indicates whether this dimension is dynamic or not.

Parameters
bDynamic[in] Flag value.

◆ setElevation()

void OdDbDimension::setElevation ( double elevation)

Sets the elevation of this entity in the OCS (DXF 30).

Parameters
elevation[in] Elevation.
Remarks
The elevation is the distance from the WCS origin to the plane of this entity.

◆ setExtLineFixLen()

void OdDbDimension::setExtLineFixLen ( double extLineFixLen)

Sets the extension line fixed length for this Dimension entity.

Parameters
extLineFixLen[in] Extension line fixed length.

◆ setExtLineFixLenEnable()

void OdDbDimension::setExtLineFixLenEnable ( bool extLineFixLenEnable)

Controls the extension line fixed length enable flag for this Dimension entity.

Parameters
extLineFixLenEnable[in] Extension line fixed length flag.

◆ setHorizontalRotation()

void OdDbDimension::setHorizontalRotation ( double horizontalRotation)

Sets the horizontal rotation angle for this Dimension entity (DXF 51).

Parameters
horizontalRotation[in] Horizontal rotation angle.
Remarks
All angles are expressed in radians.

◆ setInspection()

void OdDbDimension::setInspection ( bool val)

Sets a value to the inspection flag for this dimension.

Parameters
val[in] New inspection flag value.

◆ setInspectionFrame()

void OdDbDimension::setInspectionFrame ( int frame)

\detials Sets inspection frame value.

Parameters
frame[in] New inspection frame value.

◆ setInspectionLabel()

void OdDbDimension::setInspectionLabel ( const OdString & label)

\detials Sets the inspection label value.

Parameters
label[in] New inspection label value.

◆ setInspectionRate()

void OdDbDimension::setInspectionRate ( const OdString & label)

\detials Sets the inspection rate value.

Parameters
label[in] New inspection rate value.

◆ setNormal()

void OdDbDimension::setNormal ( const OdGeVector3d & normal)

Sets the WCS normal to the plane of this entity (DXF 210).

Parameters
normal[in] Normal.

◆ setShouldParticipateInOPM()

void OdDbDimension::setShouldParticipateInOPM ( bool bShouldParticipate)

Sets a flag that indicates whether this dimension should participate in OPM or not.

Parameters
bShouldParticipate[in] New flag value.

◆ setTextAttachment()

void OdDbDimension::setTextAttachment ( OdDbMText::AttachmentPoint attachmentPoint)

Sets the dimension text attachment point for this Dimension entity (DXF 71).

Parameters
attachmentPoint[in] Attachment Point.

◆ setTextDefinedSize()

void OdDbDimension::setTextDefinedSize ( double width,
double height )

Sets defined width and defined height for MText

Parameters
width[in] MText width
height[in] MText height

◆ setTextLineSpacingFactor()

void OdDbDimension::setTextLineSpacingFactor ( double lineSpacingFactor)

Sets the dimension text line spacing factor for this Dimension entity (DXF 41).

Parameters
lineSpacingFactor[in] Line spacing factor. [0.25 .. 4.0]
See also
<exref target="https://docs.opendesign.com/tkernel/OdDb__LineSpacingStyle.html">OdDb::LineSpacingStyle enum</exref>

◆ setTextLineSpacingStyle()

void OdDbDimension::setTextLineSpacingStyle ( OdDb::LineSpacingStyle lineSpacingStyle)

Sets the dimension text line spacing style for this Dimension entity (DXF 72).

Parameters
lineSpacingStyle[in] Line spacing style.
\sa
<exref target="https://docs.opendesign.com/tkernel/OdDb__LineSpacingStyle.html">OdDb::LineSpacingStyle enum</exref>

◆ setTextPosition()

void OdDbDimension::setTextPosition ( const OdGePoint3d & textPosition)

Sets the position of the dimension text for this Dimension entity (DXF 11 as WCS).

Parameters
textPosition[in] Text position.
Remarks
This position is the middle center point of the dimension text, which is itself a middle-center justified MText entity.

◆ setTextRotation()

void OdDbDimension::setTextRotation ( double textRotation)

Sets the rotation angle for the dimension text for this Dimension entity (DXF 53).

Parameters
textRotation[in] Text rotation.
Remarks
All angles are expressed in radians.

◆ shouldParticipateInOPM()

bool OdDbDimension::shouldParticipateInOPM ( ) const

Checks if this dimension should participate in OPM.

Returns
true if this dimension should participate in OPM, false - otherwise.

◆ subClose()

void OdDbDimension::subClose ( )
virtual

Called as the first operation as this object is being closed, for database -resident objects only.

Remarks
This function is notified just before the current open operation is to be closed, giving this function the ability to perform necessary operatons.

When overriding this function:

1) If the OdDbObject's state is incorrect, throw exception.

2) Call parent class's subClose().

3) If other actions are required before close, do them.

The default implementation of this function does nothing. This function can be overridden in custom classes.

Reimplemented from OdDbObject.

◆ subExplode()

virtual OdResult OdDbDimension::subExplode ( OdRxObjectPtrArray & entitySet) const
virtual

Reimplemented from OdDbEntity.

◆ subGetClassID()

OdResult OdDbDimension::subGetClassID ( void * pClsid) const
virtual

◆ subGetCompoundObjectTransform()

virtual OdResult OdDbDimension::subGetCompoundObjectTransform ( OdGeMatrix3d & xM) const
virtual

Reimplemented from OdDbEntity.

◆ subGetGeomExtents()

OdResult OdDbDimension::subGetGeomExtents ( OdGeExtents3d & extents) const
virtual

Gets a geometry extents of a dimension entity. This is a rewritten implementation of OdDbEntity::getGeomExtents().

Parameters
extents[out] Receives a value of the geometry extents.

Reimplemented from OdDbEntity.

◆ subGetTransformedCopy()

virtual OdResult OdDbDimension::subGetTransformedCopy ( const OdGeMatrix3d & xfm,
OdDbEntityPtr & pCopy ) const
virtual

Applies a transformation matrix to a copy of this entity. Only available if transformation is uniform.

Parameters
xfm[in] Transformation matrix to be applied.
pCopy[out] Copy of this entity with a transformation matrix applied to it.
Returns
eOk if the operation completed successfully, or an appropriate error code otherwise.

Reimplemented from OdDbEntity.

◆ subSetAttributes()

OdUInt32 OdDbDimension::subSetAttributes ( OdGiDrawableTraits * pTraits) const
virtual

Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.

Parameters
pTraits[in] Pointer to the OdGiDrawableTraits object to be set.
Remarks
When overriding subSetAttributes(), you must OR (|) the return value of <base class>::subSetAttributes(pTraits) with any flags you add.

A derived class may not remove flags for any reason.

The default implementation does nothing but returns kDrawableNone. This function can be overridden in custom classes.

Reimplemented from OdDbEntity.

◆ subSetDatabaseDefaults()

void OdDbDimension::subSetDatabaseDefaults ( OdDbDatabase * pDb,
bool doSubents )
virtual

Applies the default properties of the specified database to this entity.

Parameters
pDb[in] Pointer to the database whose default values are to be used.
doSubents[in] Set to true if subentities should be processed
Remarks
If pDb is null, the database containing this entity is used.

The following properties are set color layer linetype linetype scale lineweight plotstyle visibility

Reimplemented from OdDbEntity.

◆ subTransformBy()

virtual OdResult OdDbDimension::subTransformBy ( const OdGeMatrix3d & xfm)
virtual

Applies the specified 3D transformation matrix to this entity. Only available if transformation is uniform.

Parameters
xfm[in] 3D transformation matrix.
Returns
Returns eOk if successful, or an appropriate error code if not.

Reimplemented from OdDbEntity.

◆ subViewportDraw()

void OdDbDimension::subViewportDraw ( OdGiViewportDraw * pVd) const
virtual

Reimplemented from OdDbEntity.

◆ subWblockClone()

virtual OdDbObjectPtr OdDbDimension::subWblockClone ( OdDbIdMapping & ownerIdMap,
OdDbObject * ,
bool bPrimary ) const
virtual

Reimplemented from OdDbEntity.

◆ subWorldDraw()

bool OdDbDimension::subWorldDraw ( OdGiWorldDraw * pWd) const
virtual

Reimplemented from OdDbEntity.

◆ textAttachment()

OdDbMText::AttachmentPoint OdDbDimension::textAttachment ( ) const

Returns the dimension text attachment point for this Dimension entity (DXF 71).

◆ textDefinedSize()

void OdDbDimension::textDefinedSize ( double & width,
double & height ) const

Gets defined width and defined height for MText

Parameters
width[out] MText width
height[out] MText height

◆ textLineSpacingFactor()

double OdDbDimension::textLineSpacingFactor ( ) const

Returns the dimension text line spacing factor for this Dimension entity (DXF 41).

See also
<exref target="https://docs.opendesign.com/tkernel/OdDb__LineSpacingStyle.html">OdDb::LineSpacingStyle enum</exref>

◆ textLineSpacingStyle()

OdDb::LineSpacingStyle OdDbDimension::textLineSpacingStyle ( ) const

Returns the dimension text line spacing style for this Dimension entity (DXF 72).

\sa

<exref target="https://docs.opendesign.com/tkernel/OdDb__LineSpacingStyle.html">OdDb::LineSpacingStyle enum</exref>

◆ textPosition()

OdGePoint3d OdDbDimension::textPosition ( ) const

Returns the position of the dimension text for this Dimension entity (DXF 11 as WCS).

Remarks
This position is the middle center point of the dimension text, which is itself a middle-center justified MText entity.

◆ textRotation()

double OdDbDimension::textRotation ( ) const

Returns the rotation angle for the dimension text for this Dimension entity (DXF 53).

Remarks
All angles are expressed in radians.

◆ useDefaultTextPosition()

void OdDbDimension::useDefaultTextPosition ( )

Sets the dimension text for this Dimension entity to use the default position (DXF 70, clears bit 0x80).

◆ useSetTextPosition()

void OdDbDimension::useSetTextPosition ( )

Sets the dimension text for this Dimension entity to not use the default position (DXF 70, sets bit 0x80).

◆ ValidateBOOL() [1/2]

OdDbDimension::ValidateBOOL ( )
  • VARDOCS: <properties>

"\n DIMMZF."

</properties>

◆ ValidateBOOL() [2/2]

OdDbDimension::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>

◆ ValidateColor() [1/3]

OdDbDimension::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>

◆ ValidateColor() [2/3]

OdDbDimension::ValidateColor ( )

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

◆ ValidateColor() [3/3]

OdDbDimension::ValidateColor ( )

<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()

OdDbDimension::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() [1/4]

OdDbDimension::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>

◆ ValidateDimBlock() [2/4]

OdDbDimension::ValidateDimBlock ( )

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

◆ ValidateDimBlock() [3/4]

OdDbDimension::ValidateDimBlock ( )

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

◆ ValidateDimBlock() [4/4]

OdDbDimension::ValidateDimBlock ( )

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

◆ ValidateDouble()

OdDbDimension::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() [1/3]

OdDbDimension::ValidateLinetype ( true )
  • 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>

◆ ValidateLinetype() [2/3]

OdDbDimension::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>

◆ ValidateLinetype() [3/3]

OdDbDimension::ValidateLinetype ( true )

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

◆ ValidateLineWeight() [1/2]

OdDbDimension::ValidateLineWeight ( )

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

◆ ValidateLineWeight() [2/2]

OdDbDimension::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>

◆ ValidateNone() [1/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [2/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [3/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [4/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [5/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [6/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [7/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [8/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [9/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [10/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [11/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [12/28]

OdDbDimension::ValidateNone ( )
  • VARDOCS: <properties>

"\n DIMALTMZF."

</properties>

◆ ValidateNone() [13/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [14/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [15/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [16/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [17/28]

OdDbDimension::ValidateNone ( )
  • VARDOCS: <properties>

"\n DIMMZS."

</properties>

◆ ValidateNone() [18/28]

OdDbDimension::ValidateNone ( )
  • VARDOCS: <properties>

"\n DIMALTMZS."

</properties>

◆ ValidateNone() [19/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [20/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [21/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [22/28]

OdDbDimension::ValidateNone ( )
  • 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>

◆ ValidateNone() [23/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [24/28]

OdDbDimension::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>

◆ ValidateNone() [25/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [26/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [27/28]

OdDbDimension::ValidateNone ( )

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

◆ ValidateNone() [28/28]

OdDbDimension::ValidateNone ( )

◆ ValidatePositive() [1/6]

OdDbDimension::ValidatePositive ( )

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

◆ ValidatePositive() [2/6]

OdDbDimension::ValidatePositive ( )

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

◆ ValidatePositive() [3/6]

OdDbDimension::ValidatePositive ( )

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

◆ ValidatePositive() [4/6]

OdDbDimension::ValidatePositive ( )

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

◆ ValidatePositive() [5/6]

OdDbDimension::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>

◆ ValidatePositive() [6/6]

OdDbDimension::ValidatePositive ( )

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

◆ ValidatePositiveNonZero() [1/2]

OdDbDimension::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>

◆ ValidatePositiveNonZero() [2/2]

OdDbDimension::ValidatePositiveNonZero ( )

<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/24]

OdDbDimension::ValidateRange ( 0 ,
15  )

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

◆ ValidateRange() [2/24]

OdDbDimension::ValidateRange ( 0 ,
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>

◆ ValidateRange() [3/24]

OdDbDimension::ValidateRange ( 0 ,
15  )

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

◆ ValidateRange() [4/24]

OdDbDimension::ValidateRange ( 0 ,
15  )

<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() [5/24]

OdDbDimension::ValidateRange ( 0 ,
2  )

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

◆ ValidateRange() [6/24]

OdDbDimension::ValidateRange ( 0 ,
2  )

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

◆ ValidateRange() [7/24]

OdDbDimension::ValidateRange ( 0 ,
2  )

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

◆ ValidateRange() [8/24]

OdDbDimension::ValidateRange ( 0 ,
2  )

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

◆ ValidateRange() [9/24]

OdDbDimension::ValidateRange ( 0 ,
2  )

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

◆ ValidateRange() [10/24]

OdDbDimension::ValidateRange ( 0 ,
3  )

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

◆ ValidateRange() [11/24]

OdDbDimension::ValidateRange ( 0 ,
3  )

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

◆ ValidateRange() [12/24]

OdDbDimension::ValidateRange ( 0 ,
4  )

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

◆ ValidateRange() [13/24]

OdDbDimension::ValidateRange ( 0 ,
4  )

<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() [14/24]

OdDbDimension::ValidateRange ( 0 ,
4  )

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

◆ ValidateRange() [15/24]

OdDbDimension::ValidateRange ( 0 ,
8  )

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

◆ ValidateRange() [16/24]

OdDbDimension::ValidateRange ( 0 ,
8  )

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

◆ ValidateRange() [17/24]

OdDbDimension::ValidateRange ( 0 ,
8  )

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

◆ ValidateRange() [18/24]

OdDbDimension::ValidateRange ( 0 ,
8  )

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

◆ ValidateRange() [19/24]

OdDbDimension::ValidateRange ( 0 ,
DBL_MAX  )

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

◆ ValidateRange() [20/24]

OdDbDimension::ValidateRange ( 0 ,
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>

◆ ValidateRange() [21/24]

OdDbDimension::ValidateRange ( 0 ,
DBL_MAX  )

<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() [22/24]

OdDbDimension::ValidateRange ( 1 ,
6  )

<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() [23/24]

OdDbDimension::ValidateRange ( 1 ,
8  )

<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() [24/24]

OdDbDimension::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()

OdDbDimension::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()

OdDbDimension::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>

Member Data Documentation

◆ alt

OdDbDimension::alt

Definition at line 166 of file DbDimension.h.

◆ altd

OdDbDimension::altd

Definition at line 200 of file DbDimension.h.

◆ altf

OdDbDimension::altf

Definition at line 235 of file DbDimension.h.

◆ altmzf

OdDbDimension::altmzf

Definition at line 3064 of file DbDimension.h.

◆ altmzs

OdDbDimension::altmzs

Definition at line 3073 of file DbDimension.h.

◆ altrnd

OdDbDimension::altrnd

Definition at line 270 of file DbDimension.h.

◆ alttd

OdDbDimension::alttd

Definition at line 305 of file DbDimension.h.

◆ alttz

OdDbDimension::alttz

Definition at line 353 of file DbDimension.h.

◆ altu

OdDbDimension::altu

Definition at line 402 of file DbDimension.h.

◆ altz

OdDbDimension::altz

Definition at line 450 of file DbDimension.h.

◆ apost

OdDbDimension::apost

Definition at line 487 of file DbDimension.h.

◆ arcsym

OdDbDimension::arcsym

Definition at line 2916 of file DbDimension.h.

◆ asz

OdDbDimension::asz

Definition at line 524 of file DbDimension.h.

◆ atfit

OdDbDimension::atfit

Definition at line 567 of file DbDimension.h.

◆ aunit

OdDbDimension::aunit

Definition at line 611 of file DbDimension.h.

◆ azin

OdDbDimension::azin

Definition at line 654 of file DbDimension.h.

◆ blk

OdDbDimension::blk

Definition at line 689 of file DbDimension.h.

◆ blk1

OdDbDimension::blk1

Definition at line 724 of file DbDimension.h.

◆ blk2

OdDbDimension::blk2

Definition at line 759 of file DbDimension.h.

◆ cen

OdDbDimension::cen

Definition at line 806 of file DbDimension.h.

◆ clrd

OdDbDimension::clrd

Definition at line 847 of file DbDimension.h.

◆ clre

OdDbDimension::clre

Definition at line 882 of file DbDimension.h.

◆ clrt

OdDbDimension::clrt

Definition at line 919 of file DbDimension.h.

◆ dec

OdDbDimension::dec

Definition at line 954 of file DbDimension.h.

◆ dle

OdDbDimension::dle

Definition at line 989 of file DbDimension.h.

◆ dli

OdDbDimension::dli

Definition at line 1024 of file DbDimension.h.

◆ dsep

OdDbDimension::dsep

Definition at line 1058 of file DbDimension.h.

◆ exe

OdDbDimension::exe

Definition at line 1096 of file DbDimension.h.

◆ exo

OdDbDimension::exo

Definition at line 1133 of file DbDimension.h.

◆ false

OdDbDimension::false

Definition at line 166 of file DbDimension.h.

◆ frac

OdDbDimension::frac

Definition at line 1178 of file DbDimension.h.

◆ fxl

OdDbDimension::fxl

Definition at line 2711 of file DbDimension.h.

◆ fxlon

OdDbDimension::fxlon

Definition at line 2754 of file DbDimension.h.

◆ gap

OdDbDimension::gap

Definition at line 1223 of file DbDimension.h.

◆ jogang

OdDbDimension::jogang

Definition at line 2792 of file DbDimension.h.

◆ just

OdDbDimension::just

Definition at line 1267 of file DbDimension.h.

◆ ldrblk

OdDbDimension::ldrblk

Definition at line 1307 of file DbDimension.h.

◆ lfac

OdDbDimension::lfac

Definition at line 1342 of file DbDimension.h.

◆ lim

OdDbDimension::lim

Definition at line 1382 of file DbDimension.h.

◆ ltex1

OdDbDimension::ltex1

Definition at line 2984 of file DbDimension.h.

◆ ltex2

OdDbDimension::ltex2

Definition at line 3018 of file DbDimension.h.

◆ ltype

OdDbDimension::ltype

Definition at line 2950 of file DbDimension.h.

◆ lunit

OdDbDimension::lunit

Definition at line 1427 of file DbDimension.h.

◆ lwd

OdDbDimension::lwd

Definition at line 1475 of file DbDimension.h.

◆ lwe

OdDbDimension::lwe

Definition at line 1520 of file DbDimension.h.

◆ mzf

OdDbDimension::mzf

Definition at line 3046 of file DbDimension.h.

◆ mzs

OdDbDimension::mzs

Definition at line 3055 of file DbDimension.h.

◆ OdaPI4

OdDbDimension::OdaPI4

Definition at line 2792 of file DbDimension.h.

◆ post

OdDbDimension::post

Definition at line 1557 of file DbDimension.h.

◆ rnd

OdDbDimension::rnd

Definition at line 1592 of file DbDimension.h.

◆ sah

OdDbDimension::sah

Definition at line 1636 of file DbDimension.h.

◆ scale

OdDbDimension::scale

Definition at line 1685 of file DbDimension.h.

◆ sd1

OdDbDimension::sd1

Definition at line 1726 of file DbDimension.h.

◆ sd2

OdDbDimension::sd2

Definition at line 1767 of file DbDimension.h.

◆ se1

OdDbDimension::se1

Definition at line 1808 of file DbDimension.h.

◆ se2

OdDbDimension::se2

Definition at line 1848 of file DbDimension.h.

◆ soxd

OdDbDimension::soxd

Definition at line 1889 of file DbDimension.h.

◆ tad

OdDbDimension::tad

Definition at line 1936 of file DbDimension.h.

◆ tdec

OdDbDimension::tdec

Definition at line 1972 of file DbDimension.h.

◆ tfac

OdDbDimension::tfac

Definition at line 2006 of file DbDimension.h.

◆ tfill

OdDbDimension::tfill

Definition at line 2837 of file DbDimension.h.

◆ tfillclr

OdDbDimension::tfillclr

Definition at line 2874 of file DbDimension.h.

◆ tih

OdDbDimension::tih

Definition at line 2047 of file DbDimension.h.

◆ tix

OdDbDimension::tix

Definition at line 2088 of file DbDimension.h.

◆ tm

OdDbDimension::tm

Definition at line 2123 of file DbDimension.h.

◆ tmove

OdDbDimension::tmove

Definition at line 2168 of file DbDimension.h.

◆ tofl

OdDbDimension::tofl

Definition at line 2208 of file DbDimension.h.

◆ toh

OdDbDimension::toh

Definition at line 2248 of file DbDimension.h.

◆ tol

OdDbDimension::tol

Definition at line 2288 of file DbDimension.h.

◆ tolj

OdDbDimension::tolj

Definition at line 2330 of file DbDimension.h.

◆ tp

OdDbDimension::tp

Definition at line 2364 of file DbDimension.h.

◆ true

OdDbDimension::true

Definition at line 2047 of file DbDimension.h.

◆ tsz

OdDbDimension::tsz

Definition at line 2426 of file DbDimension.h.

◆ tvp

OdDbDimension::tvp

Definition at line 2462 of file DbDimension.h.

◆ txsty

OdDbDimension::txsty

Definition at line 2496 of file DbDimension.h.

◆ txt

OdDbDimension::txt

Definition at line 2536 of file DbDimension.h.

◆ txtdirection

OdDbDimension::txtdirection

Definition at line 3037 of file DbDimension.h.

◆ tzin

OdDbDimension::tzin

Definition at line 2584 of file DbDimension.h.

◆ upt

OdDbDimension::upt

Definition at line 2624 of file DbDimension.h.

◆ zin

OdDbDimension::zin

Definition at line 2672 of file DbDimension.h.


The documentation for this class was generated from the following file: