Drawing Sheet

Types

A3DDrawingSheetData

Functions

A3DStatus

A3DDrawingSheetGet

A3DStatus

A3DDrawingSheetCreate

Detailed Description

group a3d_drawing_sheet

Entity type is kA3DTypeDrawingSheet.

See also

Drawing Model

Version

5.0

A sheet corresponds to a paper page with geometries which are groups into some structures. ../_images/drawing_sheet.png

Function Documentation

A3DStatus A3DDrawingSheetGet(const A3DDrawingSheet *pDrawingSheet, A3DDrawingSheetData *pData)

Populates the A3DDrawingSheetData structure.

Version

5.0

Parameters:
  • pDrawingSheet[in] The input sheet.

  • pData[out] Data of the sheet.

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

Returns:

A3D_SUCCESS on success, or an error code on failure

A3DStatus A3DDrawingSheetCreate(const A3DDrawingSheetData *pData, A3DDrawingSheet **ppDrawingSheet)

Creates an A3DDrawingSheet from A3DDrawingSheetData structure.

Version

5.0

Parameters:
  • pData[in] The input sheet data.

  • ppDrawingSheet[out] The sheet entity.

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_DRW_SHEET_CANNOT_CREATE

  • A3D_DRW_SHEET_INVALID_SIZE

  • A3D_DRW_SHEET_INVALID_SCALE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure