Drawing Operator

Types

A3DDrawingBlockOperatorData

Functions

A3DStatus

A3DDrawingBlockOperatorGet

A3DStatus

A3DDrawingBlockOperatorCreate

Detailed Description

group a3d_drawing_operator

Enumerations for drawing operator type for use in the A3DDrawingBlockOperatorData structure.

Entity type is kA3DTypeDrawingBlockOperator.

Version

5.0

Block Operator is same as Block Basic, but it provide also a link between graphic entities and a view. It is useful to define a relationship between a curve section and a view.

Refer to Drawing Block Basic for other details.

Warning

Circular dependencies between A3DDrawingBlockOperator and A3DDrawingView are not allowed.

Function Documentation

A3DStatus A3DDrawingBlockOperatorGet(const A3DDrawingBlockOperator *pDrawingOperator, A3DDrawingBlockOperatorData *pData)

Populates the A3DDrawingBlockOperatorData structure.

Version

5.0

Parameters:
  • pDrawingOperator[in] The operator block.

  • pData[out] Data of the operator 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 A3DDrawingBlockOperatorCreate(const A3DDrawingBlockOperatorData *pData, A3DDrawingBlockOperator **ppDrawingOperator)

Creates an A3DDrawingBlockOperator from A3DDrawingBlockOperatorData structure.

Version

5.0

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

  • ppDrawingOperator[out] The operator block entity

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE

  • A3D_INVALID_DATA_STRUCT_NULL

  • A3D_INVALID_ENTITY_TYPE

  • A3D_DRW_OPERATOR_CANNOT_CREATE

  • A3D_SUCCESS

Returns:

A3D_SUCCESS on success, or an error code on failure