CFx SDK Documentation  2020SP3
Enumerations | Functions | Variables
OdDb Namespace Reference

Enumerations

enum  Poly2dType { k2dSimplePoly = 0, k2dFitCurvePoly = 1, k2dQuadSplinePoly = 2, k2dCubicSplinePoly = 3 }
 
enum  Vertex2dType { k2dVertex = 0, k2dSplineCtlVertex = 1, k2dSplineFitVertex = 2, k2dCurveFitVertex = 3 }
 
enum  Poly3dType { k3dSimplePoly = 0, k3dQuadSplinePoly = 1, k3dCubicSplinePoly = 2 }
 
enum  SubentType {
  kNullSubentType = 0, kFaceSubentType, kEdgeSubentType, kVertexSubentType,
  kMlineSubentCache, kClassSubentType
}
 
enum  EndCaps { kEndCapNone = 0, kEndCapRound = 1, kEndCapAngle = 2, kEndCapSquare = 3 }
 
enum  JoinStyle { kJnStylNone = 0, kJnStylRound = 1, kJnStylAngle = 2, kJnStylFlat = 3 }
 
enum  DuplicateLinetypeLoading { kDltNotApplicable = 0, kDltIgnore = 1, kDltReplace = 2 }
 
enum  TimeZone {
  kInternationalDateLine = -12000, kMidwayIsland = -11000, kHawaii = -10000, kAlaska = -9000,
  kPacific = -8000, kMountain = -7000, kArizona = -7001, kMazatlan = -7002,
  kCentral = -6000, kCentralAmerica = -6001, kMexicoCity = -6002, kSaskatchewan = -6003,
  kEastern = -5000, kIndiana = -5001, kBogota = -5002, kAtlanticCanada = -4000,
  kCaracas = -4001, kSantiago = -4002, kNewfoundland = -3300, kBrasilia = -3000,
  kBuenosAires = -3001, kGreenland = -3002, kMidAtlantic = -2000, kAzores = -1000,
  kCapeVerde = -1001, kUTC = 0, kGMT = 1, kMonrovia = 2,
  kBerlin = 1000, kParis = 1001, kPrague = 1002, kSarajevo = 1003,
  kWestCentralAfrica = 1004, kAthens = 2000, kEasternEurope = 2001, kCairo = 2002,
  kHarare = 2003, kHelsinki = 2004, kJerusalem = 2005, kMoscow = 3000,
  kRiyadh = 3001, kBaghdad = 3002, kEastAfrica = 3003, kTehran = 3300,
  kAbuDhabi = 4000, kCaucasus = 4001, kKabul = 4300, kEkaterinburg = 5000,
  kIslamabad = 5001, kKolkata = 5300, kKathmandu = 5450, kAlmaty = 6000,
  kDhaka = 6001, kSriLanka = 6002, kRangoon = 6300, kBangkok = 7000,
  kKrasnoyarsk = 7001, kBeijing = 8000, kSingapore = 8001, kTaipei = 8002,
  kIrkutsk = 8003, kPerth = 8004, kTokyo = 9000, kSeoul = 9001,
  kYakutsk = 9002, kAdelaide = 9300, kDarwin = 9301, kSydney = 10000,
  kGuam = 10001, kBrisbane = 10002, kHobart = 10003, kVladivostock = 10004,
  kMagadan = 11000, kWellington = 12000, kFiji = 12001, kTonga = 13000
}
 
enum  LoftParamType {
  kLoftNoParam = 0x00, kLoftNoTwist = 0x01, kLoftAlignDirection = 0x02, kLoftSimplify = 0x04,
  kLoftClose = 0x08, kLoftPeriodic = 0x10, kLoftDefault = kLoftNoTwist | kLoftAlignDirection | kLoftSimplify
}
 
enum  LoftNormalsType {
  kLoftRuled = 0, kLoftSmooth = 1, kLoftFirstNormal = 2, kLoftLastNormal = 3,
  kLoftEndsNormal = 4, kLoftAllNormal = 5, kLoftUseDraftAngles = 6
}
 
enum  CollisionType { kCollisionTypeNone = 0, kCollisionTypeSolid = 1 }
 
enum  ProxyImage { kProxyNotShow = 0, kProxyShow = 1, kProxyBoundingBox = 2 }
 
enum  FilletTrimMode { kTrimNone = 0, kTrimFirst = 1, kTrimSecond = 2, kTrimBoth = 3 }
 
enum  TextFileEncoding {
  kTextFileEncodingDefault = 0, kTextFileEncodingANSI = 1, kTextFileEncodingUTF8 = 11, kTextFileEncodingUTF16 = 21,
  kTextFileEncodingUTF16LE = 22, kTextFileEncodingUTF16BE = 23, kTextFileEncodingUTF32 = 31, kTextFileEncodingUTF32LE = 32,
  kTextFileEncodingUTF32BE = 33
}
 
enum  LayerAdskType { kLayerSystemLights = 0, kLayerConstraints = 1 }
 
enum  DataLinkOption {
  kDataLinkOptionNone = 0, kDataLinkOptionAnonymous = 0x1, kDataLinkOptionPersistCache = 0x2, kDataLinkOptionDisableInLongTransaction = 0x4,
  kDataLinkHasCustomData = 0x8
}
 
enum  PathOption { kPathOptionNone = 1, kPathOptionRelative, kPathOptionAbsolute, kPathOptionPathAndFile }
 
enum  UpdateDirection { kUpdateDirectionSourceToData = 0x1, kUpdateDirectionDataToSource = 0x2 }
 
enum  UpdateOption {
  kUpdateOptionNone = 0, kUpdateOptionSkipFormat = 0x20000, kUpdateOptionUpdateRowHeight = 0x40000, kUpdateOptionUpdateColumnWidth = 0x80000,
  kUpdateOptionAllowSourceUpdate = 0x100000, kUpdateOptionForceFullSourceUpdate = 0x200000, kUpdateOptionOverwriteContentModifiedAfterUpdate = 0x400000, kUpdateOptionOverwriteFormatModifiedAfterUpdate = 0x800000,
  kUpdateOptionForPreview = 0x1000000, kUpdateOptionIncludeXrefs = 0x2000000, kUpdateOptionSkipFormatAfterFirstUpdate = 0x4000000
}
 
enum  DataLinkGetSourceContext {
  kDataLinkGetSourceContextUnknown, kDataLinkGetSourceContextEtransmit, kDataLinkGetSourceContextXrefManager, kDataLinkGetSourceContextFileWatcher,
  kDataLinkGetSourceContextOther
}
 
enum  DimArrowFlags { kFirstArrow = 0, kSecondArrow = 1 }
 
enum  EntSaveAsType { kNoSave = 0, kSaveAsR12, kSaveAsR13, kSaveAsR14 }
 
enum  Planarity { kNonPlanar = 0, kPlanar = 1, kLinear = 2 }
 
enum  DragStat { kDragStart = 0, kDragEnd = 1, kDragAbort = 2 }
 
enum  GripStat { kGripsDone = 0, kGripsToBeDeleted = 1, kDimDataToBeDeleted = 2 }
 
enum  OsnapMask {
  kOsMaskEnd = 0x000001, kOsMaskMid = 0x000002, kOsMaskCen = 0x000004, kOsMaskNode = 0x000008,
  kOsMaskQuad = 0x000010, kOsMaskInt = 0x000020, kOsMaskIns = 0x000040, kOsMaskPerp = 0x000080,
  kOsMaskTan = 0x000100, kOsMaskNear = 0x000200, kOsMaskQuick = 0x000400, kOsMaskApint = 0x000800,
  kOsMaskImmediate = 0x010000, kOsMaskAllowTan = 0x020000, kOsMaskDisablePerp = 0x040000, kOsMaskRelCartesian = 0x080000,
  kOsMaskRelPolar = 0x100000, kOsMaskNoneOverride = 0x200000
}
 
enum  DeepCloneType {
  kDcCopy = 0, kDcExplode = 1, kDcBlock = 2, kDcXrefBind = 3,
  kDcSymTableMerge = 4, kDcInsert = 6, kDcWblock = 7, kDcObjects = 8,
  kDcXrefInsert = 9, kDcInsertCopy = 10, kDcWblkObjects = 11
}
 
enum  DuplicateRecordCloning {
  kDrcNotApplicable = 0, kDrcIgnore = 1, kDrcReplace = 2, kDrcXrefMangleName = 3,
  kDrcMangleName = 4, kDrcUnmangleName = 5, kDrcMax = kDrcUnmangleName
}
 
enum  Visibility { kInvisible = 1, kVisible = 0 }
 
enum  SaveType { kDwg = 0, kDxf = 1, kDxb = 2, kUnknown = -1 }
 
enum  OpenMode { kNotOpen = -1, kForRead = 0, kForWrite = 1, kForNotify = 2 }
 
enum  ReferenceType { kSoftPointerRef = 0, kHardPointerRef = 1, kSoftOwnershipRef = 2, kHardOwnershipRef = 3 }
 
enum  PagingType { kUnload = 0x01, kPage = 0x02 }
 
enum  PolyMeshType { kSimpleMesh = 0, kQuadSurfaceMesh = 5, kCubicSurfaceMesh = 6, kBezierSurfaceMesh = 8 }
 
enum  TableBreakOption {
  kTableBreakNone = 0, kTableBreakEnableBreaking = 0x01, kTableBreakRepeatTopLabels = 0x02, kTableBreakRepeatBottomLabels = 0x04,
  kTableBreakAllowManualPositions = 0x08, kTableBreakAllowManualHeights = 0x10
}
 
enum  TableBreakFlowDirection { kTableBreakFlowRight = 0x1, kTableBreakFlowDownOrUp = 0x2, kTableBreakFlowLeft = 0x4 }
 
enum  TableHitItem {
  kTableHitNone = 0, kTableHitCell = 0x1, kTableHitRowIndicator = 0x2, kTableHitColumnIndicator = 0x4,
  kTableHitGridLine = 0x8
}
 
enum  CellType { kUnknownCell = 0, kTextCell = 1, kBlockCell = 2, kMultipleContentCell = 3 }
 
enum  CellContentType { kCellContentTypeUnknown = 0x0, kCellContentTypeValue = 0x1, kCellContentTypeField = 0x2, kCellContentTypeBlock = 0x4 }
 
enum  CellEdgeMask { kTopMask = 0x1, kRightMask = 0x2, kBottomMask = 0x4, kLeftMask = 0x8 }
 
enum  SelectType { kWindow = 1, kCrossing = 2 }
 
enum  FlowDirection { kTtoB = 0, kBtoT = 1 }
 
enum  RotationAngle {
  kDegreesUnknown = -1, kDegrees000 = 0, kDegrees090 = 1, kDegrees180 = 2,
  kDegrees270 = 3
}
 
enum  CellAlignment {
  kTopLeft = 1, kTopCenter = 2, kTopRight = 3, kMiddleLeft = 4,
  kMiddleCenter = 5, kMiddleRight = 6, kBottomLeft = 7, kBottomCenter = 8,
  kBottomRight = 9
}
 
enum  GridLineType {
  kInvalidGridLine = 0x00, kHorzTop = 0x01, kHorzInside = 0x02, kHorzBottom = 0x04,
  kVertLeft = 0x08, kVertInside = 0x10, kVertRight = 0x20, kHorzGridLineTypes = kHorzTop | kHorzBottom | kHorzInside,
  kVertGridLineTypes = kVertLeft | kVertRight | kVertInside, kOuterGridLineTypes = kHorzTop | kHorzBottom | kVertLeft | kVertRight, kInnerGridLineTypes = kHorzInside | kVertInside, kAllGridLineTypes = kOuterGridLineTypes | kInnerGridLineTypes
}
 
enum  RowType { kUnknownRow = 0x0, kDataRow = 0x1, kTitleRow = 0x2, kHeaderRow = 0x4 }
 
enum  TableStyleFlags { kHorzInsideLineFirst = 0x1, kHorzInsideLineSecond = 0x2, kHorzInsideLineThird = 0x4, kTableStyleModified = 0x8 }
 
enum  RowTypes { kAllRows = kDataRow | kTitleRow | kHeaderRow }
 
enum  GridLineTypes { kAllGridLines = kHorzTop | kHorzInside | kHorzBottom | kVertLeft | kVertInside | kVertRight }
 
enum  GridLineStyle { kGridLineStyleSingle = 1, kGridLineStyleDouble = 2 }
 
enum  CellMargin {
  kCellMarginTop = 0x01, kCellMarginLeft = 0x02, kCellMarginBottom = 0x04, kCellMarginRight = 0x08,
  kCellMarginHorzSpacing = 0x10, kCellMarginVertSpacing = 0x20
}
 
enum  CellContentLayout { kCellContentLayoutFlow = 0x1, kCellContentLayoutStackedHorizontal = 0x2, kCellContentLayoutStackedVertical = 0x4 }
 
enum  CellState {
  kCellStateNone = 0x00, kCellStateContentLocked = 0x01, kCellStateContentReadOnly = 0x02, kCellStateLinked = 0x04,
  kCellStateContentModifiedAfterUpdate = 0x08, kCellStateFormatLocked = 0x10, kCellStateFormatReadOnly = 0x20, kCellStateFormatModifiedAfterUpdate = 0x40,
  kAllCellStates
}
 
enum  GridProperty {
  kGridPropInvalid = 0x00, kGridPropLineStyle = 0x01, kGridPropLineWeight = 0x02, kGridPropLinetype = 0x04,
  kGridPropColor = 0x08, kGridPropVisibility = 0x10, kGridPropDoubleLineSpacing = 0x20, kGridPropAll
}
 
enum  CellOption { kCellOptionNone = 0x0, kInheritCellFormat = 0x1 }
 
enum  CellProperty {
  kCellPropInvalid = 0x00000, kCellPropDataType = 0x00001, kCellPropDataFormat = 0x00002, kCellPropRotation = 0x00004,
  kCellPropScale = 0x00008, kCellPropAlignment = 0x00010, kCellPropContentColor = 0x00020, kCellPropTextStyle = 0x00040,
  kCellPropTextHeight = 0x00080, kCellPropAutoScale = 0x00100, kCellPropBackgroundColor = 0x00200, kCellPropMarginLeft = 0x00400,
  kCellPropMarginTop = 0x00800, kCellPropMarginRight = 0x01000, kCellPropMarginBottom = 0x02000, kCellPropContentLayout = 0x04000,
  kCellPropMergeAll = 0x08000, kCellPropFlowDirBtoT = 0x10000, kCellPropMarginHorzSpacing = 0x20000, kCellPropMarginVertSpacing = 0x40000,
  kCellPropDataTypeAndFormat = (kCellPropDataType | kCellPropDataFormat), kCellPropContent, kCellPropBitProperties = (kCellPropAutoScale | kCellPropMergeAll | kCellPropFlowDirBtoT), kCellPropAll
}
 
enum  TableFillOption {
  kTableFillOptionNone = 0, kTableFillOptionRow = 0x1, kTableFillOptionReverse = 0x2, kTableFillOptionGenerateSeries = 0x4,
  kTableFillOptionCopyContent = 0x8, kTableFillOptionCopyFormat = 0x10, kTableFillOptionOverwriteReadOnlyContent = 0x20, kTableFillOptionOverwriteReadOnlyFormat = 0x40
}
 
enum  TableCopyOption {
  kTableCopyOptionNone = 0, kTableCopyOptionExpandOrContractTable = 0x1, kTableCopyOptionSkipContent = 0x2, kTableCopyOptionSkipValue = 0x4,
  kTableCopyOptionSkipField = 0x8, kTableCopyOptionSkipFormula = 0x10, kTableCopyOptionSkipBlock = 0x20, kTableCopyOptionSkipDataLink = 0x40,
  kTableCopyOptionSkipLabelCell = 0x80, kTableCopyOptionSkipDataCell = 0x100, kTableCopyOptionSkipFormat = 0x200, kTableCopyOptionSkipCellStyle = 0x400,
  kTableCopyOptionConvertFormatToOverrides = 0x800, kTableCopyOptionSkipCellState = 0x1000, kTableCopyOptionSkipContentFormat = 0x2000, kTableCopyOptionSkipDissimilarContentFormat = 0x4000,
  kTableCopyOptionSkipGeometry = 0x8000, kTableCopyOptionSkipMerges = 0x10000, kTableCopyOptionFillTarget = 0x20000, kTableCopyOptionOverwriteReadOnlyContent = 0x40000,
  kTableCopyOptionOverwriteReadOnlyFormat = 0x80000, kTableCopyOptionOverwriteContentModifiedAfterUpdate = 0x100000, kTableCopyOptionOverwriteFormatModifiedAfterUpdate = 0x200000, kTableCopyOptionOnlyContentModifiedAfterUpdate = 0x400000,
  kTableCopyOptionOnlyFormatModifiedAfterUpdate = 0x800000, kTableCopyOptionRowHeight = 0x1000000, kTableCopyOptionColumnWidth = 0x2000000, kTableCopyOptionFullCellState = 0x4000000,
  kTableCopyOptionForRountrip = 0x8000000, kTableCopyOptionConvertFieldToValue = 0x10000000, kTableCopyOptionSkipFieldTranslation = 0x20000000
}
 
enum  MergeCellStyleOption {
  kMergeCellStyleNone = 0, kMergeCellStyleCopyDuplicates = 0x1, kMergeCellStyleOverwriteDuplicates = 0x2, kMergeCellStyleConvertDuplicatesToOverrides = 0x4,
  kMergeCellStyleIgnoreNewStyles = 0x8
}
 
enum  Vertex3dType { k3dSimpleVertex = 0, k3dControlVertex = 1, k3dFitVertex = 2 }
 
enum  XrefStatus {
  kXrfNotAnXref = 0, kXrfResolved = 1, kXrfUnloaded = 2, kXrfUnreferenced = 3,
  kXrfFileNotFound = 4, kXrfUnresolved = 5
}
 
enum  BoolOperType { kBoolUnite = 0, kBoolIntersect = 1, kBoolSubtract = 2 }
 
enum  DwgVersion {
  kDHL_MC0_0 = 0, kDHL_AC1_2 = 1, kDHL_AC1_40 = 2, kDHL_AC1_50 = 3,
  kDHL_AC2_20 = 4, kDHL_AC2_10 = 5, kDHL_AC2_21 = 6, kDHL_AC2_22 = 7,
  kDHL_1001 = 8, kDHL_1002 = 9, vAC025 = kDHL_1002, kDHL_1003 = 10,
  vAC026 = kDHL_1003, kDHL_1004 = 11, vAC09 = kDHL_1004, kDHL_1005 = 12,
  kDHL_1006 = 13, vAC10 = kDHL_1006, kDHL_1007 = 14, kDHL_1008 = 15,
  kDHL_1009 = 16, vAC12 = kDHL_1009, kDHL_1010 = 17, kDHL_1011 = 18,
  kDHL_1012 = 19, vAC13 = kDHL_1012, kDHL_1013 = 20, vAC14beta = kDHL_1013,
  kDHL_1014 = 21, vAC14 = kDHL_1014, kDHL_1500 = 22, kDHL_1015 = 23,
  vAC15 = kDHL_1015, kDHL_1800a = 24, kDHL_1800 = 25, vAC18 = kDHL_1800,
  kDHL_2100a = 26, kDHL_1021 = 27, vAC21 = kDHL_1021, kDHL_2400a = 28,
  kDHL_1024 = 29, vAC24 = kDHL_1024, kDHL_2700a = 30, kDHL_1027 = 31,
  vAC27 = kDHL_1027, kDHL_3200a = 32, kDHL_1032 = 33, vAC32 = kDHL_1032,
  kDHL_PRECURR = vAC27, kDHL_CURRENT = vAC32, kDHL_Unknown = 32766, kDHL_Max = 32767
}
 
enum  MaintReleaseVer {
  kMRelease0 = 0, kMRelease1 = 1, kMRelease2 = 2, kMRelease3 = 3,
  kMRelease4 = 4, kMRelease5 = 5, kMRelease6 = 6, kMRelease7 = 7,
  kMRelease8 = 8, kMRelease9 = 9, kMRelease10 = 10, kMRelease11 = 11,
  kMRelease12 = 12, kMRelease13 = 13, kMRelease14 = 14, kMRelease15 = 15,
  kMRelease16 = 16, kMRelease17 = 17, kMRelease18 = 18, kMRelease19 = 19,
  kMRelease20 = 20, kMRelease21 = 21, kMRelease22 = 22, kMRelease23 = 23,
  kMRelease24 = 24, kMRelease25 = 25, kMRelease26 = 26, kMRelease27 = 27,
  kMRelease28 = 28, kMRelease29 = 29, kMRelease30 = 30, kMRelease31 = 31,
  kMRelease32 = 32, kMRelease33 = 33, kMRelease34 = 34, kMRelease35 = 35,
  kMRelease36 = 36, kMRelease37 = 37, kMRelease38 = 38, kMRelease39 = 39,
  kMRelease40 = 40, kMRelease41 = 41, kMRelease42 = 42, kMRelease43 = 43,
  kMRelease44 = 44, kMRelease45 = 45, kMRelease46 = 46, kMRelease47 = 47,
  kMRelease48 = 48, kMRelease49 = 49, kMRelease50 = 50, kMRelease51 = 51,
  kMRelease52 = 52, kMRelease53 = 53, kMRelease54 = 54, kMRelease55 = 55,
  kMRelease56 = 56, kMRelease57 = 57, kMRelease58 = 58, kMRelease59 = 59,
  kMRelease60 = 60, kMRelease61 = 61, kMRelease62 = 62, kMRelease63 = 63,
  kMRelease64 = 64, kMRelease65 = 65, kMRelease66 = 66, kMRelease67 = 67,
  kMRelease68 = 68, kMRelease69 = 69, kMRelease70 = 70, kMRelease71 = 71,
  kMRelease72 = 72, kMRelease73 = 73, kMRelease74 = 74, kMRelease75 = 75,
  kMRelease76 = 76, kMRelease77 = 77, kMRelease78 = 78, kMRelease79 = 79,
  kMRelease80 = 80, kMRelease81 = 81, kMRelease82 = 82, kMRelease83 = 83,
  kMRelease84 = 84, kMRelease85 = 85, kMRelease86 = 86, kMRelease87 = 87,
  kMRelease88 = 88, kMRelease89 = 89, kMRelease90 = 90, kMRelease91 = 91,
  kMRelease92 = 92, kMRelease93 = 93, kMRelease94 = 94, kMRelease95 = 95,
  kMRelease96 = 96, kMRelease97 = 97, kMRelease98 = 98, kMRelease99 = 99,
  kMRelease100 = 100, kMRelease101 = 101, kMRelease102 = 102, kMRelease103 = 103,
  kMRelease104 = 104, kMRelease105 = 105, kMRelease106 = 106, kMRelease107 = 107,
  kMRelease108 = 108, kMRelease109 = 109, kMRelease110 = 110, kMRelease111 = 111,
  kMRelease112 = 112, kMRelease113 = 113, kMRelease114 = 114, kMRelease115 = 115,
  kMRelease116 = 116, kMRelease117 = 117, kMRelease118 = 118, kMRelease119 = 119,
  kMRelease120 = 120, kMRelease121 = 121, kMRelease122 = 122, kMRelease123 = 123,
  kMRelease124 = 124, kMRelease125 = 125, kMRelease126 = 126, kMRelease127 = 127,
  kMRelease128 = 128, kMRelease129 = 129, kMRelease130 = 130, kMRelease131 = 131,
  kMRelease132 = 132, kMRelease133 = 133, kMRelease134 = 134, kMRelease135 = 135,
  kMRelease136 = 136, kMRelease137 = 137, kMRelease138 = 138, kMRelease139 = 139,
  kMRelease140 = 140, kMRelease141 = 141, kMRelease142 = 142, kMRelease143 = 143,
  kMRelease144 = 144, kMRelease145 = 145, kMRelease146 = 146, kMRelease147 = 147,
  kMRelease148 = 148, kMRelease149 = 149, kMRelease150 = 150, kMRelease151 = 151,
  kMRelease152 = 152, kMRelease153 = 153, kMRelease154 = 154, kMRelease155 = 155,
  kMRelease156 = 156, kMRelease157 = 157, kMRelease158 = 158, kMRelease159 = 159,
  kMRelease160 = 160, kMRelease161 = 161, kMRelease162 = 162, kMRelease163 = 163,
  kMRelease164 = 164, kMRelease165 = 165, kMRelease166 = 166, kMRelease167 = 167,
  kMRelease168 = 168, kMRelease169 = 169, kMRelease170 = 170, kMRelease171 = 171,
  kMRelease172 = 172, kMRelease173 = 173, kMRelease174 = 174, kMRelease175 = 175,
  kMRelease176 = 176, kMRelease177 = 177, kMRelease178 = 178, kMRelease179 = 179,
  kMRelease180 = 180, kMRelease181 = 181, kMRelease182 = 182, kMRelease183 = 183,
  kMRelease184 = 184, kMRelease185 = 185, kMRelease186 = 186, kMRelease187 = 187,
  kMRelease188 = 188, kMRelease189 = 189, kMRelease190 = 190, kMRelease191 = 191,
  kMRelease192 = 192, kMRelease193 = 193, kMRelease194 = 194, kMRelease195 = 195,
  kMRelease196 = 196, kMRelease197 = 197, kMRelease198 = 198, kMRelease199 = 199,
  kMRelease200 = 200, kMRelease201 = 201, kMRelease202 = 202, kMRelease203 = 203,
  kMRelease204 = 204, kMRelease205 = 205, kMRelease206 = 206, kMRelease207 = 207,
  kMRelease208 = 208, kMRelease209 = 209, kMRelease210 = 210, kMRelease211 = 211,
  kMRelease212 = 212, kMRelease213 = 213, kMRelease214 = 214, kMRelease215 = 215,
  kMRelease216 = 216, kMRelease217 = 217, kMRelease218 = 218, kMRelease219 = 219,
  kMRelease220 = 220, kMRelease221 = 221, kMRelease222 = 222, kMRelease223 = 223,
  kMRelease224 = 224, kMRelease225 = 225, kMRelease226 = 226, kMRelease227 = 227,
  kMRelease228 = 228, kMRelease229 = 229, kMRelease230 = 230, kMRelease231 = 231,
  kMRelease232 = 232, kMRelease233 = 233, kMRelease234 = 234, kMRelease235 = 235,
  kMRelease236 = 236, kMRelease237 = 237, kMRelease238 = 238, kMRelease239 = 239,
  kMRelease240 = 240, kMRelease241 = 241, kMRelease242 = 242, kMRelease243 = 243,
  kMRelease244 = 244, kMRelease245 = 245, kMRelease246 = 246, kMRelease247 = 247,
  kMRelease248 = 248, kMRelease249 = 249, kMRelease250 = 250, kMRelease251 = 251,
  kMRelease252 = 252, kMRelease253 = 253, kMRelease254 = 254, kMRelease255 = 255,
  kMReleaseFirstValid1500 = kMRelease41, kMReleaseCurrent = kMRelease4, kMReleaseUnknown = 126, kMReleaseMax = 127,
  kMRelease2010Max = 255
}
 
enum  LineWeight {
  kLnWt000 = 0, kLnWt005 = 5, kLnWt009 = 9, kLnWt013 = 13,
  kLnWt015 = 15, kLnWt018 = 18, kLnWt020 = 20, kLnWt025 = 25,
  kLnWt030 = 30, kLnWt035 = 35, kLnWt040 = 40, kLnWt050 = 50,
  kLnWt053 = 53, kLnWt060 = 60, kLnWt070 = 70, kLnWt080 = 80,
  kLnWt090 = 90, kLnWt100 = 100, kLnWt106 = 106, kLnWt120 = 120,
  kLnWt140 = 140, kLnWt158 = 158, kLnWt200 = 200, kLnWt211 = 211,
  kLnWtByLayer = -1, kLnWtByBlock = -2, kLnWtByLwDefault = -3
}
 
enum  PlotStyleNameType { kPlotStyleNameByLayer = 0, kPlotStyleNameByBlock = 1, kPlotStyleNameIsDictDefault = 2, kPlotStyleNameById = 3 }
 
enum  MultiThreadedMode { kSTMode = 0, kMTRendering = 1, kMTLoading = 2, kMTBarebone = 3 }
 
enum  MeasurementValue { kEnglish = 0, kMetric = 1 }
 
enum  UnitsValue {
  kUnitsUndefined = 0, kUnitsInches = 1, kUnitsFeet = 2, kUnitsMiles = 3,
  kUnitsMillimeters = 4, kUnitsCentimeters = 5, kUnitsMeters = 6, kUnitsKilometers = 7,
  kUnitsMicroinches = 8, kUnitsMils = 9, kUnitsYards = 10, kUnitsAngstroms = 11,
  kUnitsNanometers = 12, kUnitsMicrons = 13, kUnitsDecimeters = 14, kUnitsDekameters = 15,
  kUnitsHectometers = 16, kUnitsGigameters = 17, kUnitsAstronomical = 18, kUnitsLightYears = 19,
  kUnitsParsecs = 20, kUnitsMax = kUnitsParsecs
}
 
enum  Intersect { kOnBothOperands = 0, kExtendThis = 1, kExtendArg = 2, kExtendBoth = 3 }
 
enum  OsnapMode {
  kOsModeEnd = 1, kOsModeMid = 2, kOsModeCen = 3, kOsModeNode = 4,
  kOsModeQuad = 5, kOsModeIntersec = 6, kOsModeIns = 7, kOsModePerp = 8,
  kOsModeTan = 9, kOsModeNear = 10, kOsModeApint = 11, kOsModePar = 12,
  kOsModeStart = 13
}
 
enum  FilerSeekType { kSeekFromStart = SEEK_SET, kSeekFromCurrent = SEEK_CUR, kSeekFromEnd = SEEK_END }
 
enum  TextHorzMode {
  kTextLeft = 0, kTextCenter = 1, kTextRight = 2, kTextAlign = 3,
  kTextMid = 4, kTextFit = 5
}
 
enum  TextVertMode { kTextBase = 0, kTextBottom = 1, kTextVertMid = 2, kTextTop = 3 }
 
enum  LineSpacingStyle { kAtLeast = 1, kExactly = 2 }
 
enum  OrthographicView {
  kNonOrthoView = 0, kTopView = 1, kBottomView = 2, kFrontView = 3,
  kBackView = 4, kLeftView = 5, kRightView = 6
}
 
enum  RenderMode {
  k2DOptimized = 0, kWireframe = 1, kHiddenLine = 2, kFlatShaded = 3,
  kGouraudShaded = 4, kFlatShadedWithWireframe = 5, kGouraudShadedWithWireframe = 6, kMaxRenderMode
}
 

Functions

TOOLKIT_EXPORT const char * DwgVersionToStr (DwgVersion ver)
 
TOOLKIT_EXPORT DwgVersion DwgVersionFromStr (const char *str)
 

Variables

const wchar_t kszVSFlat [] = L"Flat"
 
const wchar_t kszVSFlatWithEdges [] = L"FlatWithEdges"
 
const wchar_t kszVSGouraud [] = L"Gouraud"
 
const wchar_t kszVSGouraudWithEdges [] = L"GouraudWithEdges"
 
const wchar_t kszVS2DWireframe [] = L"2dWireframe"
 
const wchar_t kszVS3DWireframe [] = L"Wireframe"
 
const wchar_t kszVSBasic [] = L"Basic"
 
const wchar_t kszVSHidden [] = L"Hidden"
 
const wchar_t kszVSRealistic [] = L"Realistic"
 
const wchar_t kszVSConceptual [] = L"Conceptual"
 
const wchar_t kszVSCustom [] = L"Custom"
 
const wchar_t kszVSShadesOfGray [] = L"Shades of Gray"
 
const wchar_t kszVSSketchy [] = L"Sketchy"
 
const wchar_t kszVSXRay [] = L"X-Ray"
 
const wchar_t kszVSShadedWithEdges [] = L"Shaded with edges"
 
const wchar_t kszVSShaded [] = L"Shaded"
 
const wchar_t kszVSDim [] = L"Dim"
 
const wchar_t kszVSBrighten [] = L"Brighten"
 
const wchar_t kszVSThicken [] = L"Thicken"
 
const wchar_t kszVSTransparent [] = L"Transparent"
 
const wchar_t kszVSLinePattern [] = L"Linepattern"
 
const wchar_t kszVSFacePattern [] = L"Facepattern"
 
const wchar_t kszVSColorChange [] = L"ColorChange"
 
const wchar_t kszVSJitterOff [] = L"JitterOff"
 
const wchar_t kszVSOverhangOff [] = L"OverhangOff"
 
const wchar_t kszVSEdgeColorOff [] = L"EdgeColorOff"
 

Detailed Description

<group TD_Namespaces>

The namespace contains common enumration declarations used for drawing database options. <group TD_Namespaces>

This namespace contains functions for working with OdDbEntity.

<group TD_Namespaces>

<group TD_Namespaces> {noAutoLink}

Enumeration Type Documentation

◆ BoolOperType

Enumerator
kBoolUnite 
kBoolIntersect 
kBoolSubtract 

Definition at line 112 of file ModelerDefs.h.

◆ CellAlignment

Enumerator
kTopLeft 
kTopCenter 
kTopRight 
kMiddleLeft 
kMiddleCenter 
kMiddleRight 
kBottomLeft 
kBottomCenter 
kBottomRight 

Definition at line 88 of file DbTableStyle.h.

◆ CellContentLayout

Enumerator
kCellContentLayoutFlow 
kCellContentLayoutStackedHorizontal 
kCellContentLayoutStackedVertical 

Definition at line 160 of file DbTableStyle.h.

◆ CellContentType

Enumerator
kCellContentTypeUnknown 
kCellContentTypeValue 
kCellContentTypeField 
kCellContentTypeBlock 

Definition at line 51 of file DbTableStyle.h.

◆ CellEdgeMask

Enumerator
kTopMask 
kRightMask 
kBottomMask 
kLeftMask 

Definition at line 59 of file DbTableStyle.h.

◆ CellMargin

Enumerator
kCellMarginTop 
kCellMarginLeft 
kCellMarginBottom 
kCellMarginRight 
kCellMarginHorzSpacing 
kCellMarginVertSpacing 

Definition at line 150 of file DbTableStyle.h.

◆ CellOption

Enumerator
kCellOptionNone 
kInheritCellFormat 

Definition at line 196 of file DbTableStyle.h.

◆ CellProperty

Enumerator
kCellPropInvalid 
kCellPropDataType 
kCellPropDataFormat 
kCellPropRotation 
kCellPropScale 
kCellPropAlignment 
kCellPropContentColor 
kCellPropTextStyle 
kCellPropTextHeight 
kCellPropAutoScale 
kCellPropBackgroundColor 
kCellPropMarginLeft 
kCellPropMarginTop 
kCellPropMarginRight 
kCellPropMarginBottom 
kCellPropContentLayout 
kCellPropMergeAll 
kCellPropFlowDirBtoT 
kCellPropMarginHorzSpacing 
kCellPropMarginVertSpacing 
kCellPropDataTypeAndFormat 
kCellPropContent 
kCellPropBitProperties 
kCellPropAll 

Definition at line 202 of file DbTableStyle.h.

◆ CellState

Enumerator
kCellStateNone 
kCellStateContentLocked 
kCellStateContentReadOnly 
kCellStateLinked 
kCellStateContentModifiedAfterUpdate 
kCellStateFormatLocked 
kCellStateFormatReadOnly 
kCellStateFormatModifiedAfterUpdate 
kAllCellStates 

Definition at line 167 of file DbTableStyle.h.

◆ CellType

Enumerator
kUnknownCell 
kTextCell 
kBlockCell 
kMultipleContentCell 

Definition at line 43 of file DbTableStyle.h.

◆ CollisionType

Specifies how the entity interacts with collision detection.

Enumerator
kCollisionTypeNone 

The entity is not involved in collision detection.

kCollisionTypeSolid 

The entity is involved in collision detection and acts as a solid object in it.

Definition at line 359 of file DbDatabase.h.

◆ DataLinkGetSourceContext

Enumerator
kDataLinkGetSourceContextUnknown 
kDataLinkGetSourceContextEtransmit 
kDataLinkGetSourceContextXrefManager 
kDataLinkGetSourceContextFileWatcher 
kDataLinkGetSourceContextOther 

Definition at line 75 of file DbDataLink.h.

◆ DataLinkOption

Enumerator
kDataLinkOptionNone 
kDataLinkOptionAnonymous 
kDataLinkOptionPersistCache 
kDataLinkOptionDisableInLongTransaction 
kDataLinkHasCustomData 

Definition at line 37 of file DbDataLink.h.

◆ DeepCloneType

Enumerator
kDcCopy 
kDcExplode 
kDcBlock 
kDcXrefBind 
kDcSymTableMerge 
kDcInsert 
kDcWblock 
kDcObjects 
kDcXrefInsert 
kDcInsertCopy 
kDcWblkObjects 

Definition at line 208 of file DbIdMapping.h.

◆ DimArrowFlags

Enumerator
kFirstArrow 
kSecondArrow 

Definition at line 300 of file DbDimStyleTableRecord.h.

◆ DragStat

Enumerator
kDragStart 
kDragEnd 
kDragAbort 

Definition at line 72 of file DbGrip.h.

◆ DuplicateLinetypeLoading

Describes how duplicates of a linetype should be processed.

Enumerator
kDltNotApplicable 

Not Applicable.

kDltIgnore 

Ignore duplicate Linetypes.

kDltReplace 

Replace duplicate Linetypes.

Definition at line 236 of file DbDatabase.h.

◆ DuplicateRecordCloning

The file OdaDefs.h contains const definitions of DuplicateRecordCloning values that do not require the "OdDb::" scope resolution qualifier. They should be used only if there will be no naming conflicts.

Enumerator
kDrcNotApplicable 
kDrcIgnore 
kDrcReplace 
kDrcXrefMangleName 
kDrcMangleName 
kDrcUnmangleName 
kDrcMax 

Definition at line 125 of file DbObject.h.

◆ DwgVersion

Enumerator
kDHL_MC0_0 
kDHL_AC1_2 
kDHL_AC1_40 
kDHL_AC1_50 
kDHL_AC2_20 
kDHL_AC2_10 
kDHL_AC2_21 
kDHL_AC2_22 
kDHL_1001 
kDHL_1002 
vAC025 
kDHL_1003 
vAC026 
kDHL_1004 
vAC09 
kDHL_1005 
kDHL_1006 
vAC10 
kDHL_1007 
kDHL_1008 
kDHL_1009 
vAC12 
kDHL_1010 
kDHL_1011 
kDHL_1012 
vAC13 
kDHL_1013 
vAC14beta 
kDHL_1014 
vAC14 
kDHL_1500 
kDHL_1015 
vAC15 
kDHL_1800a 
kDHL_1800 
vAC18 
kDHL_2100a 
kDHL_1021 
vAC21 
kDHL_2400a 
kDHL_1024 
vAC24 
kDHL_2700a 
kDHL_1027 
vAC27 
kDHL_3200a 
kDHL_1032 
vAC32 
kDHL_PRECURR 
kDHL_CURRENT 
kDHL_Unknown 
kDHL_Max 

Definition at line 45 of file OdaDefs.h.

◆ EndCaps

Describes possible types of an endcap.

Enumerator
kEndCapNone 

No endcap.

kEndCapRound 

Rounded endcap.

kEndCapAngle 

Angled endcap.

kEndCapSquare 

Squared endcap.

Definition at line 214 of file DbDatabase.h.

◆ EntSaveAsType

Enumerator
kNoSave 
kSaveAsR12 
kSaveAsR13 
kSaveAsR14 

Definition at line 65 of file DbEntity.h.

◆ FilerSeekType

Enumerator
kSeekFromStart 
kSeekFromCurrent 
kSeekFromEnd 

Definition at line 48 of file OdStreamBuf.h.

◆ FilletTrimMode

Represents the fillet trimming mode.

Enumerator
kTrimNone 

No fillet is trimmed.

kTrimFirst 

The first fillet is trimmed.

kTrimSecond 

The second fillet is trimmed.

kTrimBoth 

Both fillets are trimmed.

Definition at line 378 of file DbDatabase.h.

◆ FlowDirection

Enumerator
kTtoB 
kBtoT 

Definition at line 73 of file DbTableStyle.h.

◆ GridLineStyle

Enumerator
kGridLineStyleSingle 
kGridLineStyleDouble 

Definition at line 144 of file DbTableStyle.h.

◆ GridLineType

Enumerator
kInvalidGridLine 
kHorzTop 
kHorzInside 
kHorzBottom 
kVertLeft 
kVertInside 
kVertRight 
kHorzGridLineTypes 
kVertGridLineTypes 
kOuterGridLineTypes 
kInnerGridLineTypes 
kAllGridLineTypes 

Definition at line 101 of file DbTableStyle.h.

◆ GridLineTypes

Enumerator
kAllGridLines 

Definition at line 139 of file DbTableStyle.h.

◆ GridProperty

Enumerator
kGridPropInvalid 
kGridPropLineStyle 
kGridPropLineWeight 
kGridPropLinetype 
kGridPropColor 
kGridPropVisibility 
kGridPropDoubleLineSpacing 
kGridPropAll 

Definition at line 183 of file DbTableStyle.h.

◆ GripStat

Enumerator
kGripsDone 
kGripsToBeDeleted 
kDimDataToBeDeleted 

Definition at line 79 of file DbGrip.h.

◆ Intersect

Enumerator
kOnBothOperands 
kExtendThis 
kExtendArg 
kExtendBoth 

Definition at line 469 of file OdaDefs.h.

◆ JoinStyle

Describes possible values of the lineweight endcaps for new entities.

Enumerator
kJnStylNone 

No style.

kJnStylRound 

Round.

kJnStylAngle 

Angle.

kJnStylFlat 

Flat.

Definition at line 225 of file DbDatabase.h.

◆ LayerAdskType

Represents the system layer types.

Enumerator
kLayerSystemLights 

System lights layer type.

kLayerConstraints 

System constraints layer type.

Definition at line 405 of file DbDatabase.h.

◆ LineSpacingStyle

Enumerator
kAtLeast 
kExactly 

Definition at line 52 of file TextDefs.h.

◆ LineWeight

Enumerator
kLnWt000 
kLnWt005 
kLnWt009 
kLnWt013 
kLnWt015 
kLnWt018 
kLnWt020 
kLnWt025 
kLnWt030 
kLnWt035 
kLnWt040 
kLnWt050 
kLnWt053 
kLnWt060 
kLnWt070 
kLnWt080 
kLnWt090 
kLnWt100 
kLnWt106 
kLnWt120 
kLnWt140 
kLnWt158 
kLnWt200 
kLnWt211 
kLnWtByLayer 
kLnWtByBlock 
kLnWtByLwDefault 

Definition at line 381 of file OdaDefs.h.

◆ LoftNormalsType

Specifies the normals of the lofted object where it passes through cross section curves.

Enumerator
kLoftRuled 

Body or surface of the lofted object are specified with lines between cross section curves.

kLoftSmooth 

Body or surface of the lofted object are specified with smooth lines between cross section curves.

kLoftFirstNormal 

Normal of the lofted object surface is the normal to the first cross section curve as well.

kLoftLastNormal 

Normal of the lofted object surface is the normal to the last cross section curve as well.

kLoftEndsNormal 

Normal of the lofted object surface is also the normal to both first and last cross section curves.

kLoftAllNormal 

Normal of the lofted object surface is also the normal to all cross section curves.

kLoftUseDraftAngles 

Body or surface of the lofted object are specified with angle and cone constraints of the first and last cross section curves.

Definition at line 345 of file DbDatabase.h.

◆ LoftParamType

Specifies settings that affect the shape of the lofted solid or surface.

Enumerator
kLoftNoParam 

No loft parameters.

kLoftNoTwist 

No twisted lofting.

kLoftAlignDirection 

Lofting alining in a specified direction.

kLoftSimplify 

Simplifyed lofting.

kLoftClose 

Closed lofting.

kLoftPeriodic 

Periodic lofting.

kLoftDefault 

Default lofting settings.

Definition at line 331 of file DbDatabase.h.

◆ MaintReleaseVer

Enumerator
kMRelease0 
kMRelease1 
kMRelease2 
kMRelease3 
kMRelease4 
kMRelease5 
kMRelease6 
kMRelease7 
kMRelease8 
kMRelease9 
kMRelease10 
kMRelease11 
kMRelease12 
kMRelease13 
kMRelease14 
kMRelease15 
kMRelease16 
kMRelease17 
kMRelease18 
kMRelease19 
kMRelease20 
kMRelease21 
kMRelease22 
kMRelease23 
kMRelease24 
kMRelease25 
kMRelease26 
kMRelease27 
kMRelease28 
kMRelease29 
kMRelease30 
kMRelease31 
kMRelease32 
kMRelease33 
kMRelease34 
kMRelease35 
kMRelease36 
kMRelease37 
kMRelease38 
kMRelease39 
kMRelease40 
kMRelease41 
kMRelease42 
kMRelease43 
kMRelease44 
kMRelease45 
kMRelease46 
kMRelease47 
kMRelease48 
kMRelease49 
kMRelease50 
kMRelease51 
kMRelease52 
kMRelease53 
kMRelease54 
kMRelease55 
kMRelease56 
kMRelease57 
kMRelease58 
kMRelease59 
kMRelease60 
kMRelease61 
kMRelease62 
kMRelease63 
kMRelease64 
kMRelease65 
kMRelease66 
kMRelease67 
kMRelease68 
kMRelease69 
kMRelease70 
kMRelease71 
kMRelease72 
kMRelease73 
kMRelease74 
kMRelease75 
kMRelease76 
kMRelease77 
kMRelease78 
kMRelease79 
kMRelease80 
kMRelease81 
kMRelease82 
kMRelease83 
kMRelease84 
kMRelease85 
kMRelease86 
kMRelease87 
kMRelease88 
kMRelease89 
kMRelease90 
kMRelease91 
kMRelease92 
kMRelease93 
kMRelease94 
kMRelease95 
kMRelease96 
kMRelease97 
kMRelease98 
kMRelease99 
kMRelease100 
kMRelease101 
kMRelease102 
kMRelease103 
kMRelease104 
kMRelease105 
kMRelease106 
kMRelease107 
kMRelease108 
kMRelease109 
kMRelease110 
kMRelease111 
kMRelease112 
kMRelease113 
kMRelease114 
kMRelease115 
kMRelease116 
kMRelease117 
kMRelease118 
kMRelease119 
kMRelease120 
kMRelease121 
kMRelease122 
kMRelease123 
kMRelease124 
kMRelease125 
kMRelease126 
kMRelease127 
kMRelease128 
kMRelease129 
kMRelease130 
kMRelease131 
kMRelease132 
kMRelease133 
kMRelease134 
kMRelease135 
kMRelease136 
kMRelease137 
kMRelease138 
kMRelease139 
kMRelease140 
kMRelease141 
kMRelease142 
kMRelease143 
kMRelease144 
kMRelease145 
kMRelease146 
kMRelease147 
kMRelease148 
kMRelease149 
kMRelease150 
kMRelease151 
kMRelease152 
kMRelease153 
kMRelease154 
kMRelease155 
kMRelease156 
kMRelease157 
kMRelease158 
kMRelease159 
kMRelease160 
kMRelease161 
kMRelease162 
kMRelease163 
kMRelease164 
kMRelease165 
kMRelease166 
kMRelease167 
kMRelease168 
kMRelease169 
kMRelease170 
kMRelease171 
kMRelease172 
kMRelease173 
kMRelease174 
kMRelease175 
kMRelease176 
kMRelease177 
kMRelease178 
kMRelease179 
kMRelease180 
kMRelease181 
kMRelease182 
kMRelease183 
kMRelease184 
kMRelease185 
kMRelease186 
kMRelease187 
kMRelease188 
kMRelease189 
kMRelease190 
kMRelease191 
kMRelease192 
kMRelease193 
kMRelease194 
kMRelease195 
kMRelease196 
kMRelease197 
kMRelease198 
kMRelease199 
kMRelease200 
kMRelease201 
kMRelease202 
kMRelease203 
kMRelease204 
kMRelease205 
kMRelease206 
kMRelease207 
kMRelease208 
kMRelease209 
kMRelease210 
kMRelease211 
kMRelease212 
kMRelease213 
kMRelease214 
kMRelease215 
kMRelease216 
kMRelease217 
kMRelease218 
kMRelease219 
kMRelease220 
kMRelease221 
kMRelease222 
kMRelease223 
kMRelease224 
kMRelease225 
kMRelease226 
kMRelease227 
kMRelease228 
kMRelease229 
kMRelease230 
kMRelease231 
kMRelease232 
kMRelease233 
kMRelease234 
kMRelease235 
kMRelease236 
kMRelease237 
kMRelease238 
kMRelease239 
kMRelease240 
kMRelease241 
kMRelease242 
kMRelease243 
kMRelease244 
kMRelease245 
kMRelease246 
kMRelease247 
kMRelease248 
kMRelease249 
kMRelease250 
kMRelease251 
kMRelease252 
kMRelease253 
kMRelease254 
kMRelease255 
kMReleaseFirstValid1500 
kMReleaseCurrent 
kMReleaseUnknown 
kMReleaseMax 
kMRelease2010Max 

Definition at line 106 of file OdaDefs.h.

◆ MeasurementValue

Represents the measurement systems.

Enumerator
kEnglish 

English system.

kMetric 

Metric system.

Definition at line 436 of file OdaDefs.h.

◆ MergeCellStyleOption

Specifies options for merging cell styles.

Enumerator
kMergeCellStyleNone 

No options. If the target table style does not have a referenced cell style, it will be copied from the source table style.

kMergeCellStyleCopyDuplicates 

If there are conflicts with cell style names, the conflicting cell styles are copied from the source to target table styles as new cell styles.

kMergeCellStyleOverwriteDuplicates 

If there are conflicts with cell style names, the cell styles in the target table style are copied and overwritten.

kMergeCellStyleConvertDuplicatesToOverrides 

If there are conflicts with cell style names, the cell style format is set as overriden in the target cells, with rows or columns that reference the cell styles.

kMergeCellStyleIgnoreNewStyles 

If the target table style does not have a referenced cell style, it is not copied from the source to target table style.

Definition at line 317 of file DbTableStyle.h.

◆ MultiThreadedMode

Enumerator
kSTMode 
kMTRendering 
kMTLoading 
kMTBarebone 

Definition at line 421 of file OdaDefs.h.

◆ OpenMode

Enumerator
kNotOpen 
kForRead 
kForWrite 
kForNotify 

Definition at line 53 of file DbObjectId.h.

◆ OrthographicView

Enumerator
kNonOrthoView 
kTopView 
kBottomView 
kFrontView 
kBackView 
kLeftView 
kRightView 

Definition at line 34 of file ViewportDefs.h.

◆ OsnapMask

Enumerator
kOsMaskEnd 
kOsMaskMid 
kOsMaskCen 
kOsMaskNode 
kOsMaskQuad 
kOsMaskInt 
kOsMaskIns 
kOsMaskPerp 
kOsMaskTan 
kOsMaskNear 
kOsMaskQuick 
kOsMaskApint 
kOsMaskImmediate 
kOsMaskAllowTan 
kOsMaskDisablePerp 
kOsMaskRelCartesian 
kOsMaskRelPolar 
kOsMaskNoneOverride 

Definition at line 149 of file DbGrip.h.

◆ OsnapMode

Enumerator
kOsModeEnd 
kOsModeMid 
kOsModeCen 
kOsModeNode 
kOsModeQuad 
kOsModeIntersec 
kOsModeIns 
kOsModePerp 
kOsModeTan 
kOsModeNear 
kOsModeApint 
kOsModePar 
kOsModeStart 

Definition at line 477 of file OdaDefs.h.

◆ PagingType

Flags that can be combined together (bit-wise) to describe a desired paging behavior.

See also
OdDbPageController odDbPageObjects Paging Support
Enumerator
kUnload 
Remarks
Enables unloading of objects in a partially opened OdDbDatabase instance.

Closed objects will be unloaded from memory during the next call to odDbPageObjects. This behavior can be useful in environments with limited heap space (such as Windows CE).

kPage 
Remarks
Enables paging of objects in an OdDbDatabase instance.

Closed Objects will be paged out during the next call to OdDbPageObjects.
Paging will be implemented via a client-supplied OdDbPageController instance.

Definition at line 52 of file DbPageController.h.

◆ PathOption

Enumerator
kPathOptionNone 
kPathOptionRelative 
kPathOptionAbsolute 
kPathOptionPathAndFile 

Definition at line 46 of file DbDataLink.h.

◆ Planarity

Enumerator
kNonPlanar 
kPlanar 
kLinear 

Definition at line 73 of file DbEntity.h.

◆ PlotStyleNameType

Enumerator
kPlotStyleNameByLayer 
kPlotStyleNameByBlock 
kPlotStyleNameIsDictDefault 
kPlotStyleNameById 

Definition at line 412 of file OdaDefs.h.

◆ Poly2dType

Enumerator
k2dSimplePoly 
k2dFitCurvePoly 
k2dQuadSplinePoly 
k2dCubicSplinePoly 

Definition at line 51 of file Db2dPolyline.h.

◆ Poly3dType

Enumerator
k3dSimplePoly 
k3dQuadSplinePoly 
k3dCubicSplinePoly 

Definition at line 53 of file Db3dPolyline.h.

◆ PolyMeshType

Enumerator
kSimpleMesh 
kQuadSurfaceMesh 
kCubicSurfaceMesh 
kBezierSurfaceMesh 

Definition at line 46 of file DbPolygonMesh.h.

◆ ProxyImage

Determines how proxy images should be shown.

Enumerator
kProxyNotShow 

Proxy images are not shown.

kProxyShow 

Proxy images are shown.

kProxyBoundingBox 

Proxy images are shown as a bounding box.

Definition at line 368 of file DbDatabase.h.

◆ ReferenceType

Enumerator
kSoftPointerRef 
kHardPointerRef 
kSoftOwnershipRef 
kHardOwnershipRef 

Definition at line 61 of file DbObjectId.h.

◆ RenderMode

Enumerator
k2DOptimized 
kWireframe 
kHiddenLine 
kFlatShaded 
kGouraudShaded 
kFlatShadedWithWireframe 
kGouraudShadedWithWireframe 
kMaxRenderMode 

Definition at line 45 of file ViewportDefs.h.

◆ RotationAngle

Enumerator
kDegreesUnknown 
kDegrees000 
kDegrees090 
kDegrees180 
kDegrees270 

Definition at line 79 of file DbTableStyle.h.

◆ RowType

Enumerator
kUnknownRow 
kDataRow 
kTitleRow 
kHeaderRow 

Definition at line 118 of file DbTableStyle.h.

◆ RowTypes

Enumerator
kAllRows 

Definition at line 134 of file DbTableStyle.h.

◆ SaveType

Enumerator
kDwg 
kDxf 
kDxb 
kUnknown 

Definition at line 149 of file DbObject.h.

◆ SelectType

Enumerator
kWindow 
kCrossing 

Definition at line 67 of file DbTableStyle.h.

◆ SubentType

Enumerator
kNullSubentType 
kFaceSubentType 
kEdgeSubentType 
kVertexSubentType 
kMlineSubentCache 
kClassSubentType 

Definition at line 37 of file DbBaseSubentId.h.

◆ TableBreakFlowDirection

Enumerator representing flow direction options for table breaking.

Enumerator
kTableBreakFlowRight 

Break tables in the direction from left to right.

kTableBreakFlowDownOrUp 

Break tables in the directions from top to bottom (for top to bottom flow table) or from bottom to top (for bottom to top flow table).

kTableBreakFlowLeft 

Break tables in the direction from right to left.

Definition at line 65 of file DbTable.h.

◆ TableBreakOption

Enumerator representing table break options.

Enumerator
kTableBreakNone 

None.

kTableBreakEnableBreaking 

Enable table breaking.

kTableBreakRepeatTopLabels 

Repeat top labels for all tables.

kTableBreakRepeatBottomLabels 

Repeat bottom labels for all tables.

kTableBreakAllowManualPositions 

Allow manual positions for individual tables.

kTableBreakAllowManualHeights 

Allow setting manual height of all tables individually.

Definition at line 46 of file DbTable.h.

◆ TableCopyOption

Specifies the table copy options.

Enumerator
kTableCopyOptionNone 

None.

kTableCopyOptionExpandOrContractTable 
kTableCopyOptionSkipContent 

Content is not copied.

kTableCopyOptionSkipValue 

If content is a value, it is not copied.

kTableCopyOptionSkipField 

If content is a field, it is not copied.

kTableCopyOptionSkipFormula 

If content is a formula, it is not copied.

kTableCopyOptionSkipBlock 

If content is a block, it is not copied.

kTableCopyOptionSkipDataLink 

Data links are not copied.

kTableCopyOptionSkipLabelCell 

If content is a label cell, it is not copied.

kTableCopyOptionSkipDataCell 

If content is a data cell, it is not copied.

kTableCopyOptionSkipFormat 

Format is not copied.

kTableCopyOptionSkipCellStyle 

Cell style is not copied.

kTableCopyOptionConvertFormatToOverrides 

Converts formats to overrides after copying.

kTableCopyOptionSkipCellState 

Cell state is not copied.

kTableCopyOptionSkipContentFormat 

Content format is not copied. Ignored if kTableCopyOptionSkipFormat is set.

kTableCopyOptionSkipDissimilarContentFormat 

If content types are not the same, content format is not copied. Ignored if kTableCopyOptionSkipFormat or kTableCopyOptionSkipContentFormat is set.

kTableCopyOptionSkipGeometry 

Geometric information (column width, row height, etc.) is not copied.

kTableCopyOptionSkipMerges 

Cell merges are not copied.

kTableCopyOptionFillTarget 

The target range is filled by repeatedly copying the source range.

kTableCopyOptionOverwriteReadOnlyContent 

Overwrite a target cell if it has read-only content.

kTableCopyOptionOverwriteReadOnlyFormat 

Overwrite a target cell if it has read-only format.

kTableCopyOptionOverwriteContentModifiedAfterUpdate 
kTableCopyOptionOverwriteFormatModifiedAfterUpdate 
kTableCopyOptionOnlyContentModifiedAfterUpdate 
kTableCopyOptionOnlyFormatModifiedAfterUpdate 
kTableCopyOptionRowHeight 

Row height is copied while copying cells. Ignored when whole table is copied or if kTableCopyOptionSkipGeometry is set.

kTableCopyOptionColumnWidth 

Column width is copied while copying cells. Ignored when whole table is copied or if kTableCopyOptionSkipGeometry is set.

kTableCopyOptionFullCellState 

The full cell state is copied in a table.

kTableCopyOptionForRountrip 
kTableCopyOptionConvertFieldToValue 
kTableCopyOptionSkipFieldTranslation 

Definition at line 252 of file DbTableStyle.h.

◆ TableFillOption

Enumerator
kTableFillOptionNone 
kTableFillOptionRow 
kTableFillOptionReverse 
kTableFillOptionGenerateSeries 
kTableFillOptionCopyContent 
kTableFillOptionCopyFormat 
kTableFillOptionOverwriteReadOnlyContent 
kTableFillOptionOverwriteReadOnlyFormat 

Definition at line 237 of file DbTableStyle.h.

◆ TableHitItem

Enumerator representing a location of the item in the table.

Enumerator
kTableHitNone 

There is no item at the specified point.

kTableHitCell 

The item is a cell.

kTableHitRowIndicator 

The item is at a row.

kTableHitColumnIndicator 

The item is at a column.

kTableHitGridLine 

The item is at a grid line.

Definition at line 78 of file DbTable.h.

◆ TableStyleFlags

Enumerator
kHorzInsideLineFirst 
kHorzInsideLineSecond 
kHorzInsideLineThird 
kTableStyleModified 

Definition at line 126 of file DbTableStyle.h.

◆ TextFileEncoding

Determines what file encoding algorithm is used for functions that write data to a text file.

Enumerator
kTextFileEncodingDefault 

Chooses the current system encoding automatically.

kTextFileEncodingANSI 

Forces ANSI character set encoding text writing.

kTextFileEncodingUTF8 

Uses UTF8 encoding for file writing.

kTextFileEncodingUTF16 

Chooses UTF16 endian automatically.

kTextFileEncodingUTF16LE 

UTF16 LittleEndian.

kTextFileEncodingUTF16BE 

UTF16 BigEndian.

kTextFileEncodingUTF32 

Chooses UTF32 endian automatically.

kTextFileEncodingUTF32LE 

UTF32 LittleEndian.

kTextFileEncodingUTF32BE 

UTF32 BigEndian.

Definition at line 389 of file DbDatabase.h.

◆ TextHorzMode

Enumerator
kTextLeft 
kTextCenter 
kTextRight 
kTextAlign 
kTextMid 
kTextFit 

Definition at line 34 of file TextDefs.h.

◆ TextVertMode

Enumerator
kTextBase 
kTextBottom 
kTextVertMid 
kTextTop 

Definition at line 44 of file TextDefs.h.

◆ TimeZone

Represents the old vesrion of Microsoft(R) timezone index reordering.

Remarks
For additional information about timezone index, please see http://support.microsoft.com/kb/973627.
Enumerator
kInternationalDateLine 

(GMT-12:00) International Date Line West

kMidwayIsland 

(GMT-11:00) Midway Island, Samoa

kHawaii 

(GMT-10:00) Hawaii

kAlaska 

(GMT-09:00) Alaska

kPacific 

(GMT-08:00) Pacific Time (US & Canada); Tijuana

kMountain 

(GMT-07:00) Mountain Time (US & Canada)

kArizona 

(GMT-07:00) Arizona

kMazatlan 

(GMT-07:00) Chihuahua, La Paz, Mazatlan

kCentral 

(GMT-06:00) Central Time (US & Canada)

kCentralAmerica 

(GMT-06:00) Central America

kMexicoCity 

(GMT-06:00) Guadalajara, Mexico City, Monterrey

kSaskatchewan 

(GMT-06:00) Saskatchewan

kEastern 

(GMT-05:00) Eastern Time (US & Canada)

kIndiana 

(GMT-05:00) Indiana (East)

kBogota 

(GMT-05:00) Bogota, Lima, Quito

kAtlanticCanada 

(GMT-04:00) Atlantic Time (Canada)

kCaracas 

(GMT-04:00) Caracas, La Paz

kSantiago 

(GMT-04:00) Santiago

kNewfoundland 

(GMT-03:30) Newfoundland and Labrador

kBrasilia 

(GMT-03:00) Brasilia

kBuenosAires 

(GMT-03:00) Buenos Aires, Georgetown

kGreenland 

(GMT-03:00) Greenland

kMidAtlantic 

(GMT-02:00) Mid-Atlantic

kAzores 

(GMT-01:00) Azores

kCapeVerde 

(GMT-01:00) Cape Verde Islands

kUTC 

(UTC) Universal Coordinated Time

kGMT 

(GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London

kMonrovia 

(GMT) Casablanca, Monrovia

kBerlin 

(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna

kParis 

(GMT+01:00) Brussels, Copenhagen, Madrid, Paris

kPrague 

(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague

kSarajevo 

(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb

kWestCentralAfrica 

(GMT+01:00) West Central Africa

kAthens 

(GMT+02:00) Athens, Beirut, Istanbul, Minsk

kEasternEurope 

(GMT+02:00) Bucharest

kCairo 

(GMT+02:00) Cairo

kHarare 

(GMT+02:00) Harare, Pretoria

kHelsinki 

(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius

kJerusalem 

(GMT+02:00) Jerusalem

kMoscow 

(GMT+03:00) Moscow, St. Petersburg, Volgograd

kRiyadh 

(GMT+03:00) Kuwait, Riyadh

kBaghdad 

(GMT+03:00) Baghdad

kEastAfrica 

(GMT+03:00) Nairobi

kTehran 

(GMT+03:30) Tehran

kAbuDhabi 

(GMT+04:00) Abu Dhabi, Muscat

kCaucasus 

(GMT+04:00) Baku, Tbilisi, Yerevan

kKabul 

(GMT+04:30) Kabul

kEkaterinburg 

(GMT+05:00) Ekaterinburg

kIslamabad 

(GMT+05:00) Islamabad, Karachi, Tashkent

kKolkata 

(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi

kKathmandu 

(GMT+05:45) Kathmandu

kAlmaty 

(GMT+06:00) Almaty, Novosibirsk

kDhaka 

(GMT+06:00) Astana, Dhaka

kSriLanka 

(GMT+06:00) Sri Jayawardenepura

kRangoon 

(GMT+06:30) Rangoon

kBangkok 

(GMT+07:00) Bangkok, Hanoi, Jakarta

kKrasnoyarsk 

(GMT+07:00) Krasnoyarsk

kBeijing 

(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi

kSingapore 

(GMT+08:00) Kuala Lumpur, Singapore

kTaipei 

(GMT+08:00) Taipei

kIrkutsk 

(GMT+08:00) Irkutsk, Ulaan Bataar

kPerth 

(GMT+08:00) Perth

kTokyo 

(GMT+09:00) Osaka, Sapporo, Tokyo

kSeoul 

(GMT+09:00) Seoul

kYakutsk 

(GMT+09:00) Yakutsk

kAdelaide 

(GMT+09:30) Adelaide

kDarwin 

(GMT+09:30) Darwin

kSydney 

(GMT+10:00) Canberra, Melbourne, Sydney

kGuam 

(GMT+10:00) Guam, Port Moresby

kBrisbane 

(GMT+10:00) Brisbane

kHobart 

(GMT+10:00) Hobart

kVladivostock 

(GMT+10:00) Vladivostok

kMagadan 

(GMT+11:00) Magadan, Solomon Is., New Caledonia

kWellington 

(GMT+12:00) Auckland, Wellington

kFiji 

(GMT+12:00) Fiji, Kamchatka, Marshall Is.

kTonga 

(GMT+13:00) Nuku'alofa

Definition at line 248 of file DbDatabase.h.

◆ UnitsValue

Enumerator
kUnitsUndefined 
kUnitsInches 
kUnitsFeet 
kUnitsMiles 
kUnitsMillimeters 
kUnitsCentimeters 
kUnitsMeters 
kUnitsKilometers 
kUnitsMicroinches 
kUnitsMils 
kUnitsYards 
kUnitsAngstroms 
kUnitsNanometers 
kUnitsMicrons 
kUnitsDecimeters 
kUnitsDekameters 
kUnitsHectometers 
kUnitsGigameters 
kUnitsAstronomical 
kUnitsLightYears 
kUnitsParsecs 
kUnitsMax 

Definition at line 443 of file OdaDefs.h.

◆ UpdateDirection

Enumerator
kUpdateDirectionSourceToData 
kUpdateDirectionDataToSource 

Definition at line 54 of file DbDataLink.h.

◆ UpdateOption

Enumerator
kUpdateOptionNone 
kUpdateOptionSkipFormat 
kUpdateOptionUpdateRowHeight 
kUpdateOptionUpdateColumnWidth 
kUpdateOptionAllowSourceUpdate 
kUpdateOptionForceFullSourceUpdate 
kUpdateOptionOverwriteContentModifiedAfterUpdate 
kUpdateOptionOverwriteFormatModifiedAfterUpdate 
kUpdateOptionForPreview 
kUpdateOptionIncludeXrefs 
kUpdateOptionSkipFormatAfterFirstUpdate 

Definition at line 60 of file DbDataLink.h.

◆ Vertex2dType

Enumerator
k2dVertex 
k2dSplineCtlVertex 
k2dSplineFitVertex 
k2dCurveFitVertex 

Definition at line 40 of file Db2dVertex.h.

◆ Vertex3dType

Enumerator
k3dSimpleVertex 
k3dControlVertex 
k3dFitVertex 

Definition at line 40 of file DbVertex.h.

◆ Visibility

The file OdaDefs.h contains const definitions of Visibility values that do not require the "OdDb::" scope resolution qualifier. They should be used only if there will be no naming conflicts.

Enumerator
kInvisible 
kVisible 

Definition at line 143 of file DbObject.h.

◆ XrefStatus

Enumerator
kXrfNotAnXref 
kXrfResolved 
kXrfUnloaded 
kXrfUnreferenced 
kXrfFileNotFound 
kXrfUnresolved 

Definition at line 42 of file DbXrefGraph.h.

Function Documentation

◆ DwgVersionFromStr()

TOOLKIT_EXPORT DwgVersion OdDb::DwgVersionFromStr ( const char *  str)

Returns the .dwg version value from a null-terminated string.

Parameters
ver[in] A pointer to a null-terminated string, from which the version value should be converted.

◆ DwgVersionToStr()

TOOLKIT_EXPORT const char* OdDb::DwgVersionToStr ( DwgVersion  ver)

Returns a specified .dwg version as a null terminated string.

Parameters
ver[in] A .dwg version value to be converted to string.

Variable Documentation

◆ kszVS2DWireframe

const wchar_t OdDb::kszVS2DWireframe[] = L"2dWireframe"

Definition at line 45 of file DbVisualStyle.h.

◆ kszVS3DWireframe

const wchar_t OdDb::kszVS3DWireframe[] = L"Wireframe"

Definition at line 46 of file DbVisualStyle.h.

◆ kszVSBasic

const wchar_t OdDb::kszVSBasic[] = L"Basic"

Definition at line 47 of file DbVisualStyle.h.

◆ kszVSBrighten

const wchar_t OdDb::kszVSBrighten[] = L"Brighten"

Definition at line 62 of file DbVisualStyle.h.

◆ kszVSColorChange

const wchar_t OdDb::kszVSColorChange[] = L"ColorChange"

Definition at line 67 of file DbVisualStyle.h.

◆ kszVSConceptual

const wchar_t OdDb::kszVSConceptual[] = L"Conceptual"

Definition at line 50 of file DbVisualStyle.h.

◆ kszVSCustom

const wchar_t OdDb::kszVSCustom[] = L"Custom"

Definition at line 51 of file DbVisualStyle.h.

◆ kszVSDim

const wchar_t OdDb::kszVSDim[] = L"Dim"

Definition at line 61 of file DbVisualStyle.h.

◆ kszVSEdgeColorOff

const wchar_t OdDb::kszVSEdgeColorOff[] = L"EdgeColorOff"

Definition at line 72 of file DbVisualStyle.h.

◆ kszVSFacePattern

const wchar_t OdDb::kszVSFacePattern[] = L"Facepattern"

Definition at line 66 of file DbVisualStyle.h.

◆ kszVSFlat

const wchar_t OdDb::kszVSFlat[] = L"Flat"

Definition at line 39 of file DbVisualStyle.h.

◆ kszVSFlatWithEdges

const wchar_t OdDb::kszVSFlatWithEdges[] = L"FlatWithEdges"

Definition at line 40 of file DbVisualStyle.h.

◆ kszVSGouraud

const wchar_t OdDb::kszVSGouraud[] = L"Gouraud"

Definition at line 41 of file DbVisualStyle.h.

◆ kszVSGouraudWithEdges

const wchar_t OdDb::kszVSGouraudWithEdges[] = L"GouraudWithEdges"

Definition at line 42 of file DbVisualStyle.h.

◆ kszVSHidden

const wchar_t OdDb::kszVSHidden[] = L"Hidden"

Definition at line 48 of file DbVisualStyle.h.

◆ kszVSJitterOff

const wchar_t OdDb::kszVSJitterOff[] = L"JitterOff"

Definition at line 70 of file DbVisualStyle.h.

◆ kszVSLinePattern

const wchar_t OdDb::kszVSLinePattern[] = L"Linepattern"

Definition at line 65 of file DbVisualStyle.h.

◆ kszVSOverhangOff

const wchar_t OdDb::kszVSOverhangOff[] = L"OverhangOff"

Definition at line 71 of file DbVisualStyle.h.

◆ kszVSRealistic

const wchar_t OdDb::kszVSRealistic[] = L"Realistic"

Definition at line 49 of file DbVisualStyle.h.

◆ kszVSShaded

const wchar_t OdDb::kszVSShaded[] = L"Shaded"

Definition at line 58 of file DbVisualStyle.h.

◆ kszVSShadedWithEdges

const wchar_t OdDb::kszVSShadedWithEdges[] = L"Shaded with edges"

Definition at line 57 of file DbVisualStyle.h.

◆ kszVSShadesOfGray

const wchar_t OdDb::kszVSShadesOfGray[] = L"Shades of Gray"

Definition at line 52 of file DbVisualStyle.h.

◆ kszVSSketchy

const wchar_t OdDb::kszVSSketchy[] = L"Sketchy"

Definition at line 53 of file DbVisualStyle.h.

◆ kszVSThicken

const wchar_t OdDb::kszVSThicken[] = L"Thicken"

Definition at line 63 of file DbVisualStyle.h.

◆ kszVSTransparent

const wchar_t OdDb::kszVSTransparent[] = L"Transparent"

Definition at line 64 of file DbVisualStyle.h.

◆ kszVSXRay

const wchar_t OdDb::kszVSXRay[] = L"X-Ray"

Definition at line 54 of file DbVisualStyle.h.