Annotation Set

Detailed Description

group a3d_annotationset

Group of annotation entities

Entity type is kA3DTypeMkpAnnotationSet.

An annotation set is a group of annotation items or subsets. For example, a tolerance defined by a datum and a feature control frame are described by an annotation set with two annotation items, where the items point respectively to a markup of type “datum” and a markup of type “feature control frame”.

Function Documentation

A3DStatus A3DMkpAnnotationSetGet(const A3DMkpAnnotationSet *pAnnotation, A3DMkpAnnotationSetData *pData)

Populates the A3DMkpAnnotationSetData 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 A3DMkpAnnotationSetCreate(const A3DMkpAnnotationSetData *pData, A3DMkpAnnotationSet **ppAnnotation)

Creates an A3DMkpAnnotationSet from an A3DMkpAnnotationSetData structure.

Version
2.0

Return values:
  • A3D_INVALID_DATA_STRUCT_SIZE
  • A3D_INVALID_DATA_STRUCT_NULL
  • A3D_ANNOTATIONSET_WITH_NULL_ELEMENT
  • A3D_SUCCESS
Returns:

A3D_SUCCESS on success, or an error code on failure