Modules

 Value for undefined active sheet
 This value determines the case where no active sheet has been set.
 

Data Structures

struct  A3DDrawingModelData
 Drawing Model structure. More...
 

Functions

A3DStatus A3DDrawingModelCreate (const A3DDrawingModelData *pData, A3DDrawingModel **ppDrawingModel)
 Creates an A3DDrawingModel from A3DDrawingModelData structure. More...
 
A3DStatus A3DDrawingModelGet (const A3DDrawingModel *pDrawingModel, A3DDrawingModelData *pData)
 Populates the A3DDrawingModelData structure. More...
 

Detailed Description

Version
5.0

Entity type is kA3DTypeDrawingModel.

Drawing model is a set a sheet. If model contains more that one sheet, a default active sheet is defined.

drawing_model.png

Function Documentation

◆ A3DDrawingModelGet()

A3DStatus A3DDrawingModelGet ( const A3DDrawingModel pDrawingModel,
A3DDrawingModelData pData 
)

Populates the A3DDrawingModelData structure.

Version
5.0
Parameters
[in]pDrawingModelThe input drawing model.
[out]pDataData of the drawing model.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_ENTITY_NULL
A3D_INVALID_ENTITY_TYPE
A3D_SUCCESS

◆ A3DDrawingModelCreate()

A3DStatus A3DDrawingModelCreate ( const A3DDrawingModelData pData,
A3DDrawingModel **  ppDrawingModel 
)

Creates an A3DDrawingModel from A3DDrawingModelData structure.

Version
5.0
Parameters
[in]pDataThe input drawing model data.
[out]ppDrawingModelThe drawing model entity.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_DRW_CANNOT_CREATE
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INTERVAL_INCONSISTENT_DATA
A3D_SUCCESS