Annotation Item

Detailed Description

group a3d_annotationitem

Usage of a markup.

Entity type is kA3DTypeMkpAnnotationItem.

An annotation item denotes the usage of a single markup. It enables the sharing of markups. For instance, a markup of type “datum” can be re-used in several annotation sets to denote different tolerances.

Function Documentation

A3DStatus A3DMkpAnnotationItemGet(const A3DMkpAnnotationItem *pAnnotation, A3DMkpAnnotationItemData *pData)

Populates the A3DMkpAnnotationItemData structure.

Version
2.0

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 A3DMkpAnnotationItemCreate(const A3DMkpAnnotationItemData *pData, A3DMkpAnnotationItem **ppAnnotation)

Creates an A3DMkpAnnotationItem from an A3DMkpAnnotationItemData structure.

Version
2.0

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE
  • A3D_INVALID_DATA_STRUCT_NULL
  • A3D_SUCCESS
Returns:

A3D_SUCCESS on success, or an error code on failure