CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
AECDbVarsSetup Class Reference

#include <AECDbVarsDwgSetup.h>

Inheritance diagram for AECDbVarsSetup:
AECDbVars AECDbDictRecord AECDbObject OdDbObject OdGiDrawable OdRxObject

Public Types

enum  HistoryFlags {
  kADT1 = 1 , kADT2 = 2 , kADT3 = 4 , kADT4PreRelease = 8 ,
  kADT4 = 16 , kADT5PreRelease = 32 , kADT5 = 64 , kADT6 = 128
}
 
- 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
}
 

Public Member Functions

void InitUnits (OdDbDatabase *pDb)
 
void SetDefaultMetricUnits ()
 
void SetDefaultImperialUnits ()
 
void FixAreaUnits ()
 
bool IsExternalObjectsScaled () const
 
void SetIsExternalObjectsScaled (bool bScaled)
 
AECDefs::Units GetDrawingUnits () const
 
void SetDrawingUnits (AECDefs::Units eUnits)
 
double GetImperialConversion () const
 
void SetImperialConversion (double dConcversion)
 
OdDbUnitsFormatter::LUnits GetLinearUnits () const
 
void SetLinearUnits (OdDbUnitsFormatter::LUnits eUnitFormat)
 
OdInt16 GetLinearPrecision () const
 
void SetLinearPrecision (OdInt16 iPrecision)
 
const OdStringGetLinearSuffix () const
 
void SetLinearSuffix (const OdString &strSuffix)
 
OdDbUnitsFormatter::AUnits GetAngleUnits () const
 
void SetAngleUnits (OdDbUnitsFormatter::AUnits eUnits)
 
OdInt16 GetAnglePrecision () const
 
void SetAnglePrecision (OdInt16 iPrecision)
 
AECDefs::Units GetAreaUnits () const
 
void SetAreaUnits (AECDefs::Units eUnits)
 
OdInt16 GetAreaPrecision () const
 
void SetAreaPrecision (OdInt16 iPrecision)
 
const OdStringGetAreaSuffix () const
 
void SetAreaSuffix (const OdString &strSuffix)
 
void SetDefaultAreaSuffix ()
 
AECDefs::Units GetVolumeUnits () const
 
void SetVolumeUnits (AECDefs::Units eUnits)
 
OdInt16 GetVolumePrecision () const
 
void SetVolumePrecision (OdInt16 iPrecision)
 
const OdStringGetVolumeSuffix () const
 
void SetVolumeSuffix (const OdString &strSuffix)
 
void SetDefaultVolumeSuffix ()
 
double GetDrawingScale () const
 
void SetDrawingScale (double dScale)
 
double GetAnnotationPlotScale () const
 
void SetAnnotationPlotScale (double dScale)
 
const OdStringGetLayerStandardsFileName () const
 
void SetLayerStandardsFileName (const OdString &strFilename)
 
OdString GetLayerKeyStyleName ()
 
void SetLayerKeyStyleName (const OdString &strLayerKeyStyle)
 
double GetFacetDeviation () const
 
void SetFacetDeviation (double dDeviation)
 
OdUInt16 GetFacetMaximum () const
 
void SetFacetMaximum (OdUInt16 iMaximum)
 
double GetScaleTo (AECDefs::Units eUnits) const
 
double GetScaleArea () const
 
double GetScaleVolume () const
 
AECDefs::Units GetDimensionUnits () const
 
void SetDimensionUnits (AECDefs::Units eUnits)
 
bool IsSuperscriptMMUsed () const
 
void SetIsSuperscriptMMUsed (bool bUse)
 
bool IsTrailingZeroesForSuperscriptSuppressed () const
 
void SetIsTrailingZeroesForSuperscriptSuppressed (bool bSuppress)
 
OdUInt64 GetLastLayerStyleUpdateTime () const
 
void SetLastLayerKeyStyleUpdateTime (OdUInt64 newTime)
 
OdUInt8 versionHistory () const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
- Public Member Functions inherited from AECDbDictRecord
const OdStringGetDictRecordDescription () const
 
void SetDictRecordDescription (const OdString &strDescription)
 
AECClassificationArraySubPtr GetClassificationArray () const
 
OdString GetName () const
 
- Public Member Functions inherited from AECDbObject
virtual void subClose ()
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
OdUInt32 GetOverrideCount () const
 
AECOverrideSubPtr GetOverrideByIndex (OdUInt32 iIndex) const
 
AECImpArraySubPtr GetOverrides ()
 
OdDbObjectId GetCurrentDispProps (const OdDbObjectId &idDispRep)
 
OdDbObjectId OverrideDispProps (const OdDbObjectId &idDispRep, bool bCopyContents=true)
 
void RemoveDispProps (const OdDbObjectId &idDispRep)
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
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 ()
 
virtual OdResult subOpen (OdDb::OpenMode mode)
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
virtual OdResult subErase (bool erasing)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
virtual void subHandOverTo (OdDbObject *pNewObject)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
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
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
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 ()
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
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_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &idMap)
 
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 modified (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)
 
virtual void copyFrom (const OdRxObject *pSource)
 
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 OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_SEALED
 
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_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- 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
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Static Public Member Functions

static void CreateAndInitUnits (OdDbDatabase *pDb)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Protected Attributes

bool m_bScaleExternalObjects
 
AECDefs::Units m_eDrawingUnits
 
double m_dImperialConversion
 
OdDbUnitsFormatter::LUnits m_eLinearUnits
 
OdInt16 m_iLinearPrecision
 
OdString m_strLinearSuffix
 
OdDbUnitsFormatter::AUnits m_eAngularUnits
 
OdInt16 m_iAngularPrecision
 
AECDefs::Units m_eAreaUnits
 
OdInt16 m_iAreaPrecision
 
OdString m_strAreaSuffix
 
AECDefs::Units m_eVolumeUnits
 
OdInt16 m_iVolumePrecision
 
OdString m_strVolumeSuffix
 
double m_dDrawingScale
 
double m_dDefaultScale
 
double m_dAnnotationPlotScale
 
OdString m_strLayerStandardsFile
 
OdString m_strLayerKeyStyle
 
double m_dFacetDeviation
 
bool m_bUseSuperscriptMM
 
bool m_bSuppressTrailingZeroesForSuperscript
 
AECDefs::Units m_eDimensionUnits
 
bool m_bDisplayPlusForPositive
 
bool m_bDisplayPlusMinusFor0
 
OdInt16 m_iFacetMaximum
 
bool m_bAutomaticallyCreateDimScaleOverride
 
bool m_bAlwaysImportLayerKeyStyle
 
bool m_bNonXRefConfigurations
 
OdDbSoftPointerId m_spidADCADDZZReference
 
OdInt16 m_uUnknown05
 
OdInt16 m_uUnknown07
 
OdInt16 m_uUnknown08
 
OdInt16 m_uUnknown09
 
OdGePoint3d m_aecDwgBasePt
 
OdGePoint3d m_aecBasePtNE
 
double m_dUnknown12
 
double m_dUnknown16
 
double m_dUnknown17
 
OdInt32 m_iUnknown19
 
OdInt32 m_iUnknown20
 
OdInt32 m_iUnknown21
 
OdString m_strUnknown26
 
OdString m_strUnknown27
 
OdString m_strUnknown28
 
OdInt16 m_uUnknown36
 
OdUInt64 m_lastLayerStyleUpdate
 
OdUInt8 m_versionHistory
 
OdUInt16 m_nUnknown60_1
 
OdUInt16 m_nUnknown60_2
 
OdUInt16 m_nUnknown60_3
 
OdUInt16 m_nUnknown60_4
 
OdUInt32 m_iUknown37
 
OdString m_strUnknown38
 
bool m_bUnknown39
 
OdUInt16 m_iUnknown40
 
- Protected Attributes inherited from AECDbObject
AECImpObjPtr m_pImpObject
 
AECImpArrayPtr m_pOverrides
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Additional Inherited Members

- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
virtual OdResult subGetClassID (void *pClsid) const
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Detailed Description

AEC Base database settings.

<group TA_API_Objects>

Definition at line 37 of file AECDbVarsDwgSetup.h.

Member Enumeration Documentation

◆ HistoryFlags

Enumerator
kADT1 
kADT2 
kADT3 
kADT4PreRelease 
kADT4 
kADT5PreRelease 
kADT5 
kADT6 

Definition at line 330 of file AECDbVarsDwgSetup.h.

Member Function Documentation

◆ CreateAndInitUnits()

static void AECDbVarsSetup::CreateAndInitUnits ( OdDbDatabase pDb)
static

◆ decomposeForSave()

virtual OdDbObjectPtr AECDbVarsSetup::decomposeForSave ( OdDb::DwgVersion  ver,
OdDbObjectId replaceId,
bool &  exchangeXData 
)
virtual

Determines the behavior for custom objects when saving to .dwg or .dxf file.

Parameters
ver[in] Drawing version to save as.
replaceId[out] Object ID of the object replacing this object.
exchangeXData[out] Set to true if and only if this function did not add XData to the replacement object.
Remarks
This function either

Returns an OdDbObjectPtr for a non- database -resident (NDBRO) replacement object, setting replaceId to OdDbObjectId::kNull. Returns NULL, setting replaceId for a database -resident (DBRO) replacement object.

Custom objects can decompose themselves into other objects, adding additional XData as required. The Drawings transfers XData from this object to the replacement object if and only if exchangeXData is true.

The default implementation returns NULL and sets replaceId to OdDbObjectId::kNull. This function can be overridden in custom classes.

The method is not intended to be called by client code. For processing owned objects use convertForSave() method.

Reimplemented from OdDbObject.

◆ FixAreaUnits()

void AECDbVarsSetup::FixAreaUnits ( )

◆ GetAnglePrecision()

OdInt16 AECDbVarsSetup::GetAnglePrecision ( ) const

Returns the precision used for angle units. The valid range for precision is [0 .. 8].

◆ GetAngleUnits()

OdDbUnitsFormatter::AUnits AECDbVarsSetup::GetAngleUnits ( ) const

Returns angle units format.

◆ GetAnnotationPlotScale()

double AECDbVarsSetup::GetAnnotationPlotScale ( ) const

Returns the annotation plot scale.

◆ GetAreaPrecision()

OdInt16 AECDbVarsSetup::GetAreaPrecision ( ) const

Returns the precision used for area units. The valid range for precision is [0 .. 8].

◆ GetAreaSuffix()

const OdString & AECDbVarsSetup::GetAreaSuffix ( ) const

Returns the suffix for area values.

◆ GetAreaUnits()

AECDefs::Units AECDbVarsSetup::GetAreaUnits ( ) const

Returns area units.

◆ GetDimensionUnits()

AECDefs::Units AECDbVarsSetup::GetDimensionUnits ( ) const

Returns dimension units.

◆ GetDrawingScale()

double AECDbVarsSetup::GetDrawingScale ( ) const

Returns the drawing scale.

◆ GetDrawingUnits()

AECDefs::Units AECDbVarsSetup::GetDrawingUnits ( ) const

Returns drawing units.

◆ GetFacetDeviation()

double AECDbVarsSetup::GetFacetDeviation ( ) const

Returns facet deviation.

◆ GetFacetMaximum()

OdUInt16 AECDbVarsSetup::GetFacetMaximum ( ) const

Returns the maximum number of facets per arc.

◆ GetImperialConversion()

double AECDbVarsSetup::GetImperialConversion ( ) const

Returns the imperial to metric conversion.

◆ GetLastLayerStyleUpdateTime()

OdUInt64 AECDbVarsSetup::GetLastLayerStyleUpdateTime ( ) const

◆ GetLayerKeyStyleName()

OdString AECDbVarsSetup::GetLayerKeyStyleName ( )

Returns the name of active layer key style.

◆ GetLayerStandardsFileName()

const OdString & AECDbVarsSetup::GetLayerStandardsFileName ( ) const

Returns the path to file to take standard layer key style from.

◆ GetLinearPrecision()

OdInt16 AECDbVarsSetup::GetLinearPrecision ( ) const

Returns the precision used for linear units. The valid range for precision is [0 .. 8].

◆ GetLinearSuffix()

const OdString & AECDbVarsSetup::GetLinearSuffix ( ) const

Returns the suffix for linear values.

◆ GetLinearUnits()

OdDbUnitsFormatter::LUnits AECDbVarsSetup::GetLinearUnits ( ) const

Returns linear units format.

◆ GetScaleArea()

double AECDbVarsSetup::GetScaleArea ( ) const

Returns scaling factor for conversion from drawing area units to drawing linear units.

◆ GetScaleTo()

double AECDbVarsSetup::GetScaleTo ( AECDefs::Units  eUnits) const

Returns scaling factor for conversion from drawing units to specified units.

◆ GetScaleVolume()

double AECDbVarsSetup::GetScaleVolume ( ) const

Returns scaling factor for conversion from drawing volume units to drawing linear units.

◆ GetVolumePrecision()

OdInt16 AECDbVarsSetup::GetVolumePrecision ( ) const

Returns the precision used for volume units. The valid range for precision is [0 .. 8].

◆ GetVolumeSuffix()

const OdString & AECDbVarsSetup::GetVolumeSuffix ( ) const

Returns the suffix for volume values.

◆ GetVolumeUnits()

AECDefs::Units AECDbVarsSetup::GetVolumeUnits ( ) const

Returns volume units.

◆ InitUnits()

void AECDbVarsSetup::InitUnits ( OdDbDatabase pDb)

◆ IsExternalObjectsScaled()

bool AECDbVarsSetup::IsExternalObjectsScaled ( ) const

Returns whether objects inserted from other drawings should be scaled.

◆ IsSuperscriptMMUsed()

bool AECDbVarsSetup::IsSuperscriptMMUsed ( ) const

Returns whether superscript is used for millimeters in dimensions. Valid if m_eDimensionUnits is eMeters or is eCentimeters.

◆ IsTrailingZeroesForSuperscriptSuppressed()

bool AECDbVarsSetup::IsTrailingZeroesForSuperscriptSuppressed ( ) const

Returns trailing zeros are suppressed in dimensions. Valid if m_eDimensionUnits is eMeters and m_bUseSuperscriptMM is true.

◆ SetAnglePrecision()

void AECDbVarsSetup::SetAnglePrecision ( OdInt16  iPrecision)

Sets the precision used for angle units. The valid range for precision is [0 .. 8].

◆ SetAngleUnits()

void AECDbVarsSetup::SetAngleUnits ( OdDbUnitsFormatter::AUnits  eUnits)

Sets angle units format.

◆ SetAnnotationPlotScale()

void AECDbVarsSetup::SetAnnotationPlotScale ( double  dScale)

Sets annotation plot scale.

◆ SetAreaPrecision()

void AECDbVarsSetup::SetAreaPrecision ( OdInt16  iPrecision)

Sets the precision used for area units. The valid range for precision is [0 .. 8].

◆ SetAreaSuffix()

void AECDbVarsSetup::SetAreaSuffix ( const OdString strSuffix)

Sets the suffix for area values.

◆ SetAreaUnits()

void AECDbVarsSetup::SetAreaUnits ( AECDefs::Units  eUnits)

Sets area units.

◆ SetDefaultAreaSuffix()

void AECDbVarsSetup::SetDefaultAreaSuffix ( )

◆ SetDefaultImperialUnits()

void AECDbVarsSetup::SetDefaultImperialUnits ( )

◆ SetDefaultMetricUnits()

void AECDbVarsSetup::SetDefaultMetricUnits ( )

◆ SetDefaultVolumeSuffix()

void AECDbVarsSetup::SetDefaultVolumeSuffix ( )

◆ SetDimensionUnits()

void AECDbVarsSetup::SetDimensionUnits ( AECDefs::Units  eUnits)

Sets dimension units.

◆ SetDrawingScale()

void AECDbVarsSetup::SetDrawingScale ( double  dScale)

Sets drawing scale.

◆ SetDrawingUnits()

void AECDbVarsSetup::SetDrawingUnits ( AECDefs::Units  eUnits)

Sets drawing units.

◆ SetFacetDeviation()

void AECDbVarsSetup::SetFacetDeviation ( double  dDeviation)

Sets facet deviation.

◆ SetFacetMaximum()

void AECDbVarsSetup::SetFacetMaximum ( OdUInt16  iMaximum)

Sets the maximum number of facets per arc.

◆ SetImperialConversion()

void AECDbVarsSetup::SetImperialConversion ( double  dConcversion)

Sets imperial to metric conversion.

◆ SetIsExternalObjectsScaled()

void AECDbVarsSetup::SetIsExternalObjectsScaled ( bool  bScaled)

Sets whether objects inserted from other drawings should be scaled.

◆ SetIsSuperscriptMMUsed()

void AECDbVarsSetup::SetIsSuperscriptMMUsed ( bool  bUse)

Sets whether superscript is used for millimeters in dimensions. Valid if m_eDimensionUnits is eMeters or is eCentimeters.

◆ SetIsTrailingZeroesForSuperscriptSuppressed()

void AECDbVarsSetup::SetIsTrailingZeroesForSuperscriptSuppressed ( bool  bSuppress)

Sets whether trailing zeros are suppressed in dimensions. Valid if m_eDimensionUnits is eMeters and m_bUseSuperscriptMM is true.

◆ SetLastLayerKeyStyleUpdateTime()

void AECDbVarsSetup::SetLastLayerKeyStyleUpdateTime ( OdUInt64  newTime)

◆ SetLayerKeyStyleName()

void AECDbVarsSetup::SetLayerKeyStyleName ( const OdString strLayerKeyStyle)

Sets the name of active layer key style.

◆ SetLayerStandardsFileName()

void AECDbVarsSetup::SetLayerStandardsFileName ( const OdString strFilename)

Sets layer standards file name.

◆ SetLinearPrecision()

void AECDbVarsSetup::SetLinearPrecision ( OdInt16  iPrecision)

Sets the precision used for linear units. The valid range for precision is [0 .. 8].

◆ SetLinearSuffix()

void AECDbVarsSetup::SetLinearSuffix ( const OdString strSuffix)

Sets the suffix for linear values.

◆ SetLinearUnits()

void AECDbVarsSetup::SetLinearUnits ( OdDbUnitsFormatter::LUnits  eUnitFormat)

Sets linear units format.

◆ SetVolumePrecision()

void AECDbVarsSetup::SetVolumePrecision ( OdInt16  iPrecision)

Sets the precision used for volume units. The valid range for precision is [0 .. 8].

◆ SetVolumeSuffix()

void AECDbVarsSetup::SetVolumeSuffix ( const OdString strSuffix)

Sets the suffix for volume values.

◆ SetVolumeUnits()

void AECDbVarsSetup::SetVolumeUnits ( AECDefs::Units  eUnits)

Sets volume units.

◆ versionHistory()

OdUInt8 AECDbVarsSetup::versionHistory ( ) const

Member Data Documentation

◆ m_aecBasePtNE

OdGePoint3d AECDbVarsSetup::m_aecBasePtNE
protected

Definition at line 493 of file AECDbVarsDwgSetup.h.

◆ m_aecDwgBasePt

OdGePoint3d AECDbVarsSetup::m_aecDwgBasePt
protected

Definition at line 492 of file AECDbVarsDwgSetup.h.

◆ m_bAlwaysImportLayerKeyStyle

bool AECDbVarsSetup::m_bAlwaysImportLayerKeyStyle
protected

Definition at line 475 of file AECDbVarsDwgSetup.h.

◆ m_bAutomaticallyCreateDimScaleOverride

bool AECDbVarsSetup::m_bAutomaticallyCreateDimScaleOverride
protected

Definition at line 468 of file AECDbVarsDwgSetup.h.

◆ m_bDisplayPlusForPositive

bool AECDbVarsSetup::m_bDisplayPlusForPositive
protected

Definition at line 454 of file AECDbVarsDwgSetup.h.

◆ m_bDisplayPlusMinusFor0

bool AECDbVarsSetup::m_bDisplayPlusMinusFor0
protected

Definition at line 458 of file AECDbVarsDwgSetup.h.

◆ m_bNonXRefConfigurations

bool AECDbVarsSetup::m_bNonXRefConfigurations
protected

Definition at line 482 of file AECDbVarsDwgSetup.h.

◆ m_bScaleExternalObjects

bool AECDbVarsSetup::m_bScaleExternalObjects
protected

Definition at line 351 of file AECDbVarsDwgSetup.h.

◆ m_bSuppressTrailingZeroesForSuperscript

bool AECDbVarsSetup::m_bSuppressTrailingZeroesForSuperscript
protected

Definition at line 446 of file AECDbVarsDwgSetup.h.

◆ m_bUnknown39

bool AECDbVarsSetup::m_bUnknown39
protected

Definition at line 519 of file AECDbVarsDwgSetup.h.

◆ m_bUseSuperscriptMM

bool AECDbVarsSetup::m_bUseSuperscriptMM
protected

Definition at line 439 of file AECDbVarsDwgSetup.h.

◆ m_dAnnotationPlotScale

double AECDbVarsSetup::m_dAnnotationPlotScale
protected

Definition at line 420 of file AECDbVarsDwgSetup.h.

◆ m_dDefaultScale

double AECDbVarsSetup::m_dDefaultScale
protected

Definition at line 416 of file AECDbVarsDwgSetup.h.

◆ m_dDrawingScale

double AECDbVarsSetup::m_dDrawingScale
protected

Definition at line 411 of file AECDbVarsDwgSetup.h.

◆ m_dFacetDeviation

double AECDbVarsSetup::m_dFacetDeviation
protected

Definition at line 434 of file AECDbVarsDwgSetup.h.

◆ m_dImperialConversion

double AECDbVarsSetup::m_dImperialConversion
protected

Definition at line 361 of file AECDbVarsDwgSetup.h.

◆ m_dUnknown12

double AECDbVarsSetup::m_dUnknown12
protected

Definition at line 494 of file AECDbVarsDwgSetup.h.

◆ m_dUnknown16

double AECDbVarsSetup::m_dUnknown16
protected

Definition at line 495 of file AECDbVarsDwgSetup.h.

◆ m_dUnknown17

double AECDbVarsSetup::m_dUnknown17
protected

Definition at line 496 of file AECDbVarsDwgSetup.h.

◆ m_eAngularUnits

OdDbUnitsFormatter::AUnits AECDbVarsSetup::m_eAngularUnits
protected

Definition at line 378 of file AECDbVarsDwgSetup.h.

◆ m_eAreaUnits

AECDefs::Units AECDbVarsSetup::m_eAreaUnits
protected

Definition at line 387 of file AECDbVarsDwgSetup.h.

◆ m_eDimensionUnits

AECDefs::Units AECDbVarsSetup::m_eDimensionUnits
protected

Definition at line 450 of file AECDbVarsDwgSetup.h.

◆ m_eDrawingUnits

AECDefs::Units AECDbVarsSetup::m_eDrawingUnits
protected

Definition at line 355 of file AECDbVarsDwgSetup.h.

◆ m_eLinearUnits

OdDbUnitsFormatter::LUnits AECDbVarsSetup::m_eLinearUnits
protected

Definition at line 365 of file AECDbVarsDwgSetup.h.

◆ m_eVolumeUnits

AECDefs::Units AECDbVarsSetup::m_eVolumeUnits
protected

Definition at line 399 of file AECDbVarsDwgSetup.h.

◆ m_iAngularPrecision

OdInt16 AECDbVarsSetup::m_iAngularPrecision
protected

Definition at line 383 of file AECDbVarsDwgSetup.h.

◆ m_iAreaPrecision

OdInt16 AECDbVarsSetup::m_iAreaPrecision
protected

Definition at line 391 of file AECDbVarsDwgSetup.h.

◆ m_iFacetMaximum

OdInt16 AECDbVarsSetup::m_iFacetMaximum
protected

Definition at line 463 of file AECDbVarsDwgSetup.h.

◆ m_iLinearPrecision

OdInt16 AECDbVarsSetup::m_iLinearPrecision
protected

Definition at line 370 of file AECDbVarsDwgSetup.h.

◆ m_iUknown37

OdUInt32 AECDbVarsSetup::m_iUknown37
protected

Definition at line 516 of file AECDbVarsDwgSetup.h.

◆ m_iUnknown19

OdInt32 AECDbVarsSetup::m_iUnknown19
protected

Definition at line 497 of file AECDbVarsDwgSetup.h.

◆ m_iUnknown20

OdInt32 AECDbVarsSetup::m_iUnknown20
protected

Definition at line 498 of file AECDbVarsDwgSetup.h.

◆ m_iUnknown21

OdInt32 AECDbVarsSetup::m_iUnknown21
protected

Definition at line 499 of file AECDbVarsDwgSetup.h.

◆ m_iUnknown40

OdUInt16 AECDbVarsSetup::m_iUnknown40
protected

Definition at line 520 of file AECDbVarsDwgSetup.h.

◆ m_iVolumePrecision

OdInt16 AECDbVarsSetup::m_iVolumePrecision
protected

Definition at line 403 of file AECDbVarsDwgSetup.h.

◆ m_lastLayerStyleUpdate

OdUInt64 AECDbVarsSetup::m_lastLayerStyleUpdate
protected

Definition at line 506 of file AECDbVarsDwgSetup.h.

◆ m_nUnknown60_1

OdUInt16 AECDbVarsSetup::m_nUnknown60_1
protected

Definition at line 510 of file AECDbVarsDwgSetup.h.

◆ m_nUnknown60_2

OdUInt16 AECDbVarsSetup::m_nUnknown60_2
protected

Definition at line 511 of file AECDbVarsDwgSetup.h.

◆ m_nUnknown60_3

OdUInt16 AECDbVarsSetup::m_nUnknown60_3
protected

Definition at line 512 of file AECDbVarsDwgSetup.h.

◆ m_nUnknown60_4

OdUInt16 AECDbVarsSetup::m_nUnknown60_4
protected

Definition at line 513 of file AECDbVarsDwgSetup.h.

◆ m_spidADCADDZZReference

OdDbSoftPointerId AECDbVarsSetup::m_spidADCADDZZReference
protected

Definition at line 486 of file AECDbVarsDwgSetup.h.

◆ m_strAreaSuffix

OdString AECDbVarsSetup::m_strAreaSuffix
protected

Definition at line 395 of file AECDbVarsDwgSetup.h.

◆ m_strLayerKeyStyle

OdString AECDbVarsSetup::m_strLayerKeyStyle
protected

Definition at line 428 of file AECDbVarsDwgSetup.h.

◆ m_strLayerStandardsFile

OdString AECDbVarsSetup::m_strLayerStandardsFile
protected

Definition at line 424 of file AECDbVarsDwgSetup.h.

◆ m_strLinearSuffix

OdString AECDbVarsSetup::m_strLinearSuffix
protected

Definition at line 374 of file AECDbVarsDwgSetup.h.

◆ m_strUnknown26

OdString AECDbVarsSetup::m_strUnknown26
protected

Definition at line 500 of file AECDbVarsDwgSetup.h.

◆ m_strUnknown27

OdString AECDbVarsSetup::m_strUnknown27
protected

Definition at line 501 of file AECDbVarsDwgSetup.h.

◆ m_strUnknown28

OdString AECDbVarsSetup::m_strUnknown28
protected

Definition at line 502 of file AECDbVarsDwgSetup.h.

◆ m_strUnknown38

OdString AECDbVarsSetup::m_strUnknown38
protected

Definition at line 518 of file AECDbVarsDwgSetup.h.

◆ m_strVolumeSuffix

OdString AECDbVarsSetup::m_strVolumeSuffix
protected

Definition at line 407 of file AECDbVarsDwgSetup.h.

◆ m_uUnknown05

OdInt16 AECDbVarsSetup::m_uUnknown05
protected

Definition at line 488 of file AECDbVarsDwgSetup.h.

◆ m_uUnknown07

OdInt16 AECDbVarsSetup::m_uUnknown07
protected

Definition at line 489 of file AECDbVarsDwgSetup.h.

◆ m_uUnknown08

OdInt16 AECDbVarsSetup::m_uUnknown08
protected

Definition at line 490 of file AECDbVarsDwgSetup.h.

◆ m_uUnknown09

OdInt16 AECDbVarsSetup::m_uUnknown09
protected

Definition at line 491 of file AECDbVarsDwgSetup.h.

◆ m_uUnknown36

OdInt16 AECDbVarsSetup::m_uUnknown36
protected

Definition at line 503 of file AECDbVarsDwgSetup.h.

◆ m_versionHistory

OdUInt8 AECDbVarsSetup::m_versionHistory
protected

Definition at line 507 of file AECDbVarsDwgSetup.h.


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