CFx SDK Documentation
2023 SP0
|
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" |
<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}
enum OdDb::BoolOperType |
Enumerator | |
---|---|
kBoolUnite | |
kBoolIntersect | |
kBoolSubtract |
Definition at line 112 of file ModelerDefs.h.
enum OdDb::CellAlignment |
Enumerator | |
---|---|
kTopLeft | |
kTopCenter | |
kTopRight | |
kMiddleLeft | |
kMiddleCenter | |
kMiddleRight | |
kBottomLeft | |
kBottomCenter | |
kBottomRight |
Definition at line 88 of file DbTableStyle.h.
Enumerator | |
---|---|
kCellContentLayoutFlow | |
kCellContentLayoutStackedHorizontal | |
kCellContentLayoutStackedVertical |
Definition at line 160 of file DbTableStyle.h.
Enumerator | |
---|---|
kCellContentTypeUnknown | |
kCellContentTypeValue | |
kCellContentTypeField | |
kCellContentTypeBlock |
Definition at line 51 of file DbTableStyle.h.
enum OdDb::CellEdgeMask |
Enumerator | |
---|---|
kTopMask | |
kRightMask | |
kBottomMask | |
kLeftMask |
Definition at line 59 of file DbTableStyle.h.
enum OdDb::CellMargin |
Enumerator | |
---|---|
kCellMarginTop | |
kCellMarginLeft | |
kCellMarginBottom | |
kCellMarginRight | |
kCellMarginHorzSpacing | |
kCellMarginVertSpacing |
Definition at line 150 of file DbTableStyle.h.
enum OdDb::CellOption |
Enumerator | |
---|---|
kCellOptionNone | |
kInheritCellFormat |
Definition at line 196 of file DbTableStyle.h.
enum OdDb::CellProperty |
Definition at line 202 of file DbTableStyle.h.
enum OdDb::CellState |
Definition at line 167 of file DbTableStyle.h.
enum OdDb::CellType |
Enumerator | |
---|---|
kUnknownCell | |
kTextCell | |
kBlockCell | |
kMultipleContentCell |
Definition at line 43 of file DbTableStyle.h.
enum OdDb::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.
Enumerator | |
---|---|
kDataLinkGetSourceContextUnknown | |
kDataLinkGetSourceContextEtransmit | |
kDataLinkGetSourceContextXrefManager | |
kDataLinkGetSourceContextFileWatcher | |
kDataLinkGetSourceContextOther |
Definition at line 75 of file DbDataLink.h.
enum OdDb::DataLinkOption |
Enumerator | |
---|---|
kDataLinkOptionNone | |
kDataLinkOptionAnonymous | |
kDataLinkOptionPersistCache | |
kDataLinkOptionDisableInLongTransaction | |
kDataLinkHasCustomData |
Definition at line 37 of file DbDataLink.h.
enum OdDb::DeepCloneType |
Enumerator | |
---|---|
kDcCopy | |
kDcExplode | |
kDcBlock | |
kDcXrefBind | |
kDcSymTableMerge | |
kDcInsert | |
kDcWblock | |
kDcObjects | |
kDcXrefInsert | |
kDcInsertCopy | |
kDcWblkObjects |
Definition at line 208 of file DbIdMapping.h.
enum OdDb::DimArrowFlags |
Enumerator | |
---|---|
kFirstArrow | |
kSecondArrow |
Definition at line 300 of file DbDimStyleTableRecord.h.
enum OdDb::DragStat |
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.
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.
enum OdDb::DwgVersion |
enum OdDb::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.
enum OdDb::EntSaveAsType |
Enumerator | |
---|---|
kNoSave | |
kSaveAsR12 | |
kSaveAsR13 | |
kSaveAsR14 |
Definition at line 65 of file DbEntity.h.
enum OdDb::FilerSeekType |
Enumerator | |
---|---|
kSeekFromStart | |
kSeekFromCurrent | |
kSeekFromEnd |
Definition at line 48 of file OdStreamBuf.h.
enum OdDb::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.
enum OdDb::FlowDirection |
Enumerator | |
---|---|
kTtoB | |
kBtoT |
Definition at line 73 of file DbTableStyle.h.
enum OdDb::GridLineStyle |
Enumerator | |
---|---|
kGridLineStyleSingle | |
kGridLineStyleDouble |
Definition at line 144 of file DbTableStyle.h.
enum OdDb::GridLineType |
Enumerator | |
---|---|
kInvalidGridLine | |
kHorzTop | |
kHorzInside | |
kHorzBottom | |
kVertLeft | |
kVertInside | |
kVertRight | |
kHorzGridLineTypes | |
kVertGridLineTypes | |
kOuterGridLineTypes | |
kInnerGridLineTypes | |
kAllGridLineTypes |
Definition at line 101 of file DbTableStyle.h.
enum OdDb::GridLineTypes |
Enumerator | |
---|---|
kAllGridLines |
Definition at line 139 of file DbTableStyle.h.
enum OdDb::GridProperty |
Enumerator | |
---|---|
kGridPropInvalid | |
kGridPropLineStyle | |
kGridPropLineWeight | |
kGridPropLinetype | |
kGridPropColor | |
kGridPropVisibility | |
kGridPropDoubleLineSpacing | |
kGridPropAll |
Definition at line 183 of file DbTableStyle.h.
enum OdDb::GripStat |
enum OdDb::Intersect |
enum OdDb::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.
enum OdDb::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.
Enumerator | |
---|---|
kAtLeast | |
kExactly |
Definition at line 52 of file TextDefs.h.
enum OdDb::LineWeight |
Specifies the normals of the lofted object where it passes through cross section curves.
Definition at line 345 of file DbDatabase.h.
enum OdDb::LoftParamType |
Specifies settings that affect the shape of the lofted solid or surface.
Definition at line 331 of file DbDatabase.h.
Specifies options for merging cell styles.
Definition at line 317 of file DbTableStyle.h.
enum OdDb::OpenMode |
Enumerator | |
---|---|
kNotOpen | |
kForRead | |
kForWrite | |
kForNotify |
Definition at line 53 of file DbObjectId.h.
Enumerator | |
---|---|
kNonOrthoView | |
kTopView | |
kBottomView | |
kFrontView | |
kBackView | |
kLeftView | |
kRightView |
Definition at line 34 of file ViewportDefs.h.
enum OdDb::OsnapMask |
enum OdDb::OsnapMode |
enum OdDb::PagingType |
Flags that can be combined together (bit-wise) to describe a desired paging behavior.
Enumerator | |
---|---|
kUnload |
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 |
Closed Objects will be paged out during the next call to OdDbPageObjects. |
Definition at line 52 of file DbPageController.h.
enum OdDb::PathOption |
Enumerator | |
---|---|
kPathOptionNone | |
kPathOptionRelative | |
kPathOptionAbsolute | |
kPathOptionPathAndFile |
Definition at line 46 of file DbDataLink.h.
enum OdDb::Planarity |
Enumerator | |
---|---|
kNonPlanar | |
kPlanar | |
kLinear |
Definition at line 73 of file DbEntity.h.
enum OdDb::Poly2dType |
Enumerator | |
---|---|
k2dSimplePoly | |
k2dFitCurvePoly | |
k2dQuadSplinePoly | |
k2dCubicSplinePoly |
Definition at line 51 of file Db2dPolyline.h.
enum OdDb::Poly3dType |
Enumerator | |
---|---|
k3dSimplePoly | |
k3dQuadSplinePoly | |
k3dCubicSplinePoly |
Definition at line 53 of file Db3dPolyline.h.
enum OdDb::PolyMeshType |
Enumerator | |
---|---|
kSimpleMesh | |
kQuadSurfaceMesh | |
kCubicSurfaceMesh | |
kBezierSurfaceMesh |
Definition at line 46 of file DbPolygonMesh.h.
enum OdDb::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.
enum OdDb::ReferenceType |
Enumerator | |
---|---|
kSoftPointerRef | |
kHardPointerRef | |
kSoftOwnershipRef | |
kHardOwnershipRef |
Definition at line 61 of file DbObjectId.h.
enum OdDb::RenderMode |
Enumerator | |
---|---|
k2DOptimized | |
kWireframe | |
kHiddenLine | |
kFlatShaded | |
kGouraudShaded | |
kFlatShadedWithWireframe | |
kGouraudShadedWithWireframe | |
kMaxRenderMode |
Definition at line 45 of file ViewportDefs.h.
enum OdDb::RotationAngle |
Enumerator | |
---|---|
kDegreesUnknown | |
kDegrees000 | |
kDegrees090 | |
kDegrees180 | |
kDegrees270 |
Definition at line 79 of file DbTableStyle.h.
enum OdDb::RowType |
Enumerator | |
---|---|
kUnknownRow | |
kDataRow | |
kTitleRow | |
kHeaderRow |
Definition at line 118 of file DbTableStyle.h.
enum OdDb::RowTypes |
Enumerator | |
---|---|
kAllRows |
Definition at line 134 of file DbTableStyle.h.
enum OdDb::SaveType |
Enumerator | |
---|---|
kDwg | |
kDxf | |
kDxb | |
kUnknown |
Definition at line 149 of file DbObject.h.
enum OdDb::SelectType |
Enumerator | |
---|---|
kWindow | |
kCrossing |
Definition at line 67 of file DbTableStyle.h.
enum OdDb::SubentType |
Enumerator | |
---|---|
kNullSubentType | |
kFaceSubentType | |
kEdgeSubentType | |
kVertexSubentType | |
kMlineSubentCache | |
kClassSubentType |
Definition at line 37 of file DbBaseSubentId.h.
Enumerator representing flow direction options for table breaking.
Enumerator representing table break options.
Specifies the table copy options.
Definition at line 252 of file DbTableStyle.h.
Definition at line 237 of file DbTableStyle.h.
enum OdDb::TableHitItem |
Definition at line 336 of file DbTableStyle.h.
Enumerator | |
---|---|
kHorzInsideLineFirst | |
kHorzInsideLineSecond | |
kHorzInsideLineThird | |
kTableStyleModified |
Definition at line 126 of file DbTableStyle.h.
Determines what file encoding algorithm is used for functions that write data to a text file.
Definition at line 389 of file DbDatabase.h.
enum OdDb::TextHorzMode |
Enumerator | |
---|---|
kTextLeft | |
kTextCenter | |
kTextRight | |
kTextAlign | |
kTextMid | |
kTextFit |
Definition at line 34 of file TextDefs.h.
enum OdDb::TextVertMode |
Enumerator | |
---|---|
kTextBase | |
kTextBottom | |
kTextVertMid | |
kTextTop |
Definition at line 44 of file TextDefs.h.
enum OdDb::TimeZone |
Represents the old vesrion of Microsoft(R) timezone index reordering.
Definition at line 248 of file DbDatabase.h.
enum OdDb::UnitsValue |
Enumerator | |
---|---|
kUpdateDirectionSourceToData | |
kUpdateDirectionDataToSource |
Definition at line 54 of file DbDataLink.h.
enum OdDb::UpdateOption |
Definition at line 60 of file DbDataLink.h.
enum OdDb::Vertex2dType |
Enumerator | |
---|---|
k2dVertex | |
k2dSplineCtlVertex | |
k2dSplineFitVertex | |
k2dCurveFitVertex |
Definition at line 40 of file Db2dVertex.h.
enum OdDb::Vertex3dType |
Enumerator | |
---|---|
k3dSimpleVertex | |
k3dControlVertex | |
k3dFitVertex |
Definition at line 40 of file DbVertex.h.
Specifies behavior of the vertical application.
Enumerator | |
---|---|
kEnabler | Disables creating of default objects in every drawing. |
kEditor | Enables creating of default objects in every drawing. |
Definition at line 415 of file DbDatabase.h.
Represents the vertical application types.
Enumerator | |
---|---|
kArchitecture | ODA Architecture. |
kCivil | ODA Civil. |
kMechanical | ODA Mechanical. |
Definition at line 426 of file DbDatabase.h.
enum OdDb::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.
enum OdDb::XrefStatus |
Enumerator | |
---|---|
kXrfNotAnXref | |
kXrfResolved | |
kXrfUnloaded | |
kXrfUnreferenced | |
kXrfFileNotFound | |
kXrfUnresolved |
Definition at line 42 of file DbXrefGraph.h.
TOOLKIT_EXPORT DwgVersion OdDb::DwgVersionFromStr | ( | const char * | str | ) |
Returns the .dwg version value from a null-terminated string.
ver | [in] A pointer to a null-terminated string, from which the version value should be converted. |
TOOLKIT_EXPORT const char* OdDb::DwgVersionToStr | ( | DwgVersion | ver | ) |
Returns a specified .dwg version as a null terminated string.
ver | [in] A .dwg version value to be converted to string. |
const wchar_t OdDb::kszVS2DWireframe[] = L"2dWireframe" |
Definition at line 45 of file DbVisualStyle.h.
const wchar_t OdDb::kszVS3DWireframe[] = L"Wireframe" |
Definition at line 46 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSBasic[] = L"Basic" |
Definition at line 47 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSBrighten[] = L"Brighten" |
Definition at line 62 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSColorChange[] = L"ColorChange" |
Definition at line 67 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSConceptual[] = L"Conceptual" |
Definition at line 50 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSCustom[] = L"Custom" |
Definition at line 51 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSDim[] = L"Dim" |
Definition at line 61 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSEdgeColorOff[] = L"EdgeColorOff" |
Definition at line 72 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSFacePattern[] = L"Facepattern" |
Definition at line 66 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSFlat[] = L"Flat" |
Definition at line 39 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSFlatWithEdges[] = L"FlatWithEdges" |
Definition at line 40 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSGouraud[] = L"Gouraud" |
Definition at line 41 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSGouraudWithEdges[] = L"GouraudWithEdges" |
Definition at line 42 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSHidden[] = L"Hidden" |
Definition at line 48 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSJitterOff[] = L"JitterOff" |
Definition at line 70 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSLinePattern[] = L"Linepattern" |
Definition at line 65 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSOverhangOff[] = L"OverhangOff" |
Definition at line 71 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSRealistic[] = L"Realistic" |
Definition at line 49 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSShaded[] = L"Shaded" |
Definition at line 58 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSShadedWithEdges[] = L"Shaded with edges" |
Definition at line 57 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSShadesOfGray[] = L"Shades of Gray" |
Definition at line 52 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSSketchy[] = L"Sketchy" |
Definition at line 53 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSThicken[] = L"Thicken" |
Definition at line 63 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSTransparent[] = L"Transparent" |
Definition at line 64 of file DbVisualStyle.h.
const wchar_t OdDb::kszVSXRay[] = L"X-Ray" |
Definition at line 54 of file DbVisualStyle.h.