A model is a collection of elements in a Bentley::DgnPlatform::DgnFile. More...
Modules | |
Working With Models | |
DgnModel Functions | |
Gets the active ModelRef. | |
Model Properties | |
Classes | |
struct | DgnAttachment |
A DgnAttachment represents a reference from one model to another, with transforming, clipping, and filtering applied. More... | |
struct | DgnModel |
A DgnModel represents a DgnModel in memory. More... | |
struct | DgnModelRef |
A DgnModelRef provides access to a model in a Bentley::DgnPlatform::DgnFile. More... | |
Enumerations | |
enum | DgnModelSections { None = 0, Dictionary = (1 << 0), ControlElements = (1 << 1), GraphicElements = (1 << 2), Model = (ControlElements | GraphicElements), All = 0x7fffffff } |
The element sections within a DgnModel. More... | |
enum | ElementRefType { ELEMENT_REF_TYPE_Persistent = 1, ELEMENT_REF_TYPE_TransientElm = 2, ELEMENT_REF_TYPE_ViewTemp = 3, ELEMENT_REF_TYPE_ProxyDisplay = 4 } |
Types of ElementRefs. More... | |
enum | ElementHiliteState { HILITED_None = 0, HILITED_Normal = 1, HILITED_Bold = 2, HILITED_Dashed = 3, HILITED_ComponentsNormal = 4, HILITED_ComponentsOnly = 5, HILITED_Background = 6 } |
The current Hilite state of the element. More... | |
enum | DgnModelStatus { DGNMODEL_STATUS_Success = SUCCESS, DGNMODEL_STATUS_ReadOnly = DGNMODEL_ERROR_BASE + 0x01, DGNMODEL_STATUS_BadElement = DGNMODEL_ERROR_BASE + 0x02, DGNMODEL_STATUS_BadRequest = DGNMODEL_ERROR_BASE + 0x03, DGNMODEL_STATUS_OutOfMemory = DGNMODEL_ERROR_BASE + 0x04, DGNMODEL_STATUS_ElementNotFound = DGNMODEL_ERROR_BASE + 0x05, DGNMODEL_STATUS_BadModelPtr = DGNMODEL_ERROR_BASE + 0x06, DGNMODEL_STATUS_IdNotFound = DGNMODEL_ERROR_BASE + 0x08, DGNMODEL_STATUS_IdExists = DGNMODEL_ERROR_BASE + 0x09, DGNMODEL_STATUS_InvalidId = DGNMODEL_ERROR_BASE + 0x0a, DGNMODEL_STATUS_CircularDependency = DGNMODEL_ERROR_BASE + 0x0b, DGNMODEL_STATUS_NotEnabled = DGNMODEL_ERROR_BASE + 0x0c, DGNMODEL_STATUS_ComplexComponent = DGNMODEL_ERROR_BASE + 0x0d, DGNMODEL_STATUS_WrongElemId = DGNMODEL_ERROR_BASE + 0x0e, DGNMODEL_STATUS_IsInUse = DGNMODEL_ERROR_BASE + 0x0f, DGNMODEL_STATUS_NotFound = DGNMODEL_ERROR_BASE + 0x10, DGNMODEL_STATUS_InvalidDependency = DGNMODEL_ERROR_BASE + 0x11, DGNMODEL_STATUS_NotComplexHeader = DGNMODEL_ERROR_BASE + 0x12, DGNMODEL_STATUS_2d3dMismatch = DGNMODEL_ERROR_BASE + 0x13, DGNMODEL_STATUS_ReplacingDeleted = DGNMODEL_ERROR_BASE + 0x14, DGNMODEL_STATUS_OversizeElement = DGNMODEL_ERROR_BASE + 0x15, DGNMODEL_STATUS_UndersizeElement = DGNMODEL_ERROR_BASE + 0x16, DGNMODEL_STATUS_InvalidAttrOffset = DGNMODEL_ERROR_BASE + 0x17, DGNMODEL_STATUS_InvalidXattribute = DGNMODEL_ERROR_BASE + 0x18, DGNMODEL_STATUS_InvalidXattributeId = DGNMODEL_ERROR_BASE + 0x19, DGNMODEL_STATUS_DuplicateModelName = DGNMODEL_ERROR_BASE + 0x1a, DGNMODEL_STATUS_NoChange = DGNMODEL_ERROR_BASE + 0x1b, DGNMODEL_STATUS_DuplicateDependency = DGNMODEL_ERROR_BASE + 0x1c, DGNMODEL_STATUS_DuplicateModelID = DGNMODEL_ERROR_BASE + 0x1d, DGNMODEL_STATUS_InvalidModelName = DGNMODEL_ERROR_BASE + 0x1e, DGNMODEL_STATUS_BadArg = DGNMODEL_ERROR_BASE + 0x1f, DGNMODEL_STATUS_MuNotLargerThanSu = DGNMODEL_ERROR_BASE + 0x20, DGNMODEL_STATUS_NotSameUnitBase = DGNMODEL_ERROR_BASE + 0x21, DGNMODEL_STATUS_WrongModel = DGNMODEL_ERROR_BASE + 0x22, DGNMODEL_STATUS_DrawingModelMustBe2d = DGNMODEL_ERROR_BASE + 0x23, DGNMODEL_STATUS_InvalidModelTypeSwitch = DGNMODEL_ERROR_BASE + 0x24, DGNMODEL_STATUS_BadFileRefCount = DGNMODEL_ERROR_BASE + 0x25, DGNMODEL_STATUS_ElementListNotFilled = DGNMODEL_ERROR_BASE + 0x26 } |
Errors generated by accessing or attempting to modify a DgnModel. More... | |
A model is a collection of elements in a Bentley::DgnPlatform::DgnFile.
An element is a member of one and only one model.
A DgnModel represents a model in memory.
One model may reference another. A DgnAttachment captures a reference between models.
|
strong |
The element sections within a DgnModel.
Enumerator | |
---|---|
None | |
Dictionary | |
ControlElements | |
GraphicElements | |
Model | |
All |
enum DgnModelStatus |
Errors generated by accessing or attempting to modify a DgnModel.
enum ElementHiliteState |