# A3DPDF3DStreamCreateFromModelFileAsPRC

A3DStatus `A3DPDF3DStreamCreateFromModelFileAsPRC`(A3DPDFDocument *pDoc, A3DAsmModelFile *pModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DPDF3DStream **pp3DStream, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper)
  `A3DStatus` A3DPDF3DStreamCreateFromModelFileAsPRC(`A3DPDFDocument`* pDoc, `A3DAsmModelFile`* pModelFile, const `A3DRWParamsExportPrcData`* pParamsExportData, `A3DPDF3DStream`** pp3DStream, `A3DRWParamsPrcWriteHelper`** ppPrcWriteHelper)

  Function to create a PRC Stream from a Model File.

  The 3D Stream object is primarily created with this function, and it should be stored on the 3D Artwork through the structure `A3DPDF3DArtworkData2`. This function saves the modelfile in a PRC format, and creates a 3D Stream object from this data.

  Parameters

  > pDoc: The Document object to work with.

  > pModelFile: The Document object to work with.

  > pParamsExportData: The PRC export parameters.

  > pp3DStream: The 3DStream object created.

  > ppPrcWriteHelper: Used to get PRC data such as unique identifiers of PRC nodes.

  Returns

  > A3D_SUCCESS in case of success or an error code

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...