Drawing Block Basic

Types

A3DDrawingBlockBasicData

Functions

A3DStatus

A3DDrawingBlockBasicGet

A3DStatus

A3DDrawingBlockBasicCreate

Detailed Description

group a3d_drawing_blockbasic

Entity type is kA3DTypeDrawingBlockBasic.

Version

5.0

This entity is a physical grouping of other drawing entities.

An A3DDrawingBlockBasic entity can contain multiple child A3DDrawingBlock, A3DMkpMarkup or A3DDrawingEntity.

Warning

Circular references are not allowed.

Function Documentation

A3DStatus A3DDrawingBlockBasicGet(const A3DDrawingBlockBasic *pDrawingBlock, A3DDrawingBlockBasicData *pData)

Populates the A3DDrawingBlockBasicData structure.

Version

5.0

Parameters:
  • pDrawingBlock[in] The basic block.

  • pData[out] Data of the basic block.

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 A3DDrawingBlockBasicCreate(const A3DDrawingBlockBasicData *pData, A3DDrawingBlockBasic **ppDrawingBlock)

Creates an A3DDrawingBlockBasic from A3DDrawingBlockBasicData structure.

Version

5.0

Parameters:
  • pData[in] The input basic block data

  • ppDrawingBlock[out] The basic block entity

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_DRW_BLOCK_CANNOT_CREATE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure