A3DAsmModelFileUnloadParts

A3DStatus A3DAsmModelFileUnloadParts(A3DAsmModelFile *pModelFile, A3DUns32 uiPartsSize, A3DAsmProductOccurrence **ppParts)
A3DStatus A3DAsmModelFileUnloadParts(A3DAsmModelFile* pModelFile, A3DUns32 uiPartsSize, A3DAsmProductOccurrence** ppParts)

Removes all tessellation and geometry of an A3DAsmProductOccurrence entity This can only be done on parts.

9.1

Return Values

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_PRODUCTOCCURRENCE_INCONSISTENT_PART_EXTERNAL:

A3D_PRODUCTOCCURRENCE_INCONSISTENT_EMPTY:

A3D_SUCCESS:

Parameters

pModelFile: The model file

uiPartsSize: Size of input array.

ppParts: Array of parts to unload.

Returns

A3D_SUCCESS on success, or an error code on failure