A3DRepresentationItemExportToAcisBuffer

A3DStatus A3DRepresentationItemExportToAcisBuffer(const A3DRiRepresentationItem *pRepItem, A3DChainedBuffer **pBuffer, double dScale)
A3DStatus A3DRepresentationItemExportToAcisBuffer(const A3DRiRepresentationItem* pRepItem, A3DChainedBuffer** pBuffer, double dScale)

Writes a representation item to a buffer in binary ACIS format.

This function writes the A3DRiRepresentationItem entity to a buffer.

Return Values

A3D_INVALID_LICENSE:

A3D_INITIALIZE_NOT_CALLED:

A3D_INVALID_ENTITY_NULL:

A3D_INVALID_ENTITY_TYPE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_WRITE_INVALID_FILE_NAME:

A3D_WRITE_ERROR:

A3D_WRITE_CANNOT_LOAD_WRITER:

A3D_SUCCESS:

7.2

Parameters

pRepItem: References the A3DRiRepresentationItem to be written out.

pBuffer: Buffer.

dScale: Scale applied to the representation item.

Returns

A3D_SUCCESS on success, or an error code on failure