A3DRepresentationItemExportToParasolidBuffer
-
A3DStatus
A3DRepresentationItemExportToParasolidBuffer(const A3DRiRepresentationItem *pRepItem, A3DChainedBuffer **pBuffer, double dUnit) A3DStatusA3DRepresentationItemExportToParasolidBuffer(constA3DRiRepresentationItem* pRepItem,A3DChainedBuffer** pBuffer, double dUnit)Writes a representation item to a buffer in Parasolid format.
This function writes the
A3DRiRepresentationItementity to a buffer.Return Values
A3D_INITIALIZE_NOT_CALLED:
A3D_INVALID_ENTITY_NULL:
A3D_INVALID_ENTITY_TYPE:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_WRITE_ERROR:
A3D_WRITE_CANNOT_LOAD_WRITER:
A3D_SUCCESS:
4.0
Parameters
pRepItem: References the
A3DRiRepresentationItemto be written out.pBuffer: References the chained buffer to be filled.
dUnit: References the wanted unit for the RI.
Returns
A3D_SUCCESSon success, or an error code on failure