
#######################################
A3DRepresentationItemTranslateToPkParts
#######################################

.. c:function:: A3DStatus A3DRepresentationItemTranslateToPkParts(const A3DRiRepresentationItem *pRepItem, const A3DRWParamsTranslateToPkPartsData *pParamsTranslateToPkPartsData, double dUnit, int *pNbPkParts, int **pPkParts)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DRepresentationItemTranslateToPkParts(*const* :c:type:`~A3DRiRepresentationItem`\ \* **pRepItem**\ , *const* :c:struct:`~A3DRWParamsTranslateToPkPartsData`\ \* **pParamsTranslateToPkPartsData**\ , *double* **dUnit**\ , *int* **pNbPkParts**\ , *int* **pPkParts**\ )
   
   Writes a representation item to parts in the current Parasolid session.
   
   This function writes the :c:type:`~A3DRiRepresentationItem`\ entity to parts in the current Parasolid session.
   
   **Parameters**
   
   
      **pRepItem**\ : References the :c:type:`~A3DRiRepresentationItem`\ to be written out.
   
      **pParamsTranslateToPkPartsData**\ : References the parameters to export in the Parasolid session.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ on success, or an error code on failure
   
   




