# A3DPDFGetBOMInfo

A3DStatus `A3DPDFGetBOMInfo`(A3DAsmModelFile *pModelFile, A3DRWParamsPrcWriteHelper *pPrcWriteHelper, A3DBool bHierarchical, A3DInt32 *piNbElements, A3DPDFBomElementInfoData **ppBomElementInfo, A3DPDF3DNodesReferencesData **pp3DNodesReferences)
  `A3DStatus` A3DPDFGetBOMInfo(`A3DAsmModelFile`* pModelFile, `A3DRWParamsPrcWriteHelper`* pPrcWriteHelper, `A3DBool` bHierarchical, `A3DInt32`* piNbElements, `A3DPDFBomElementInfoData`** ppBomElementInfo, `A3DPDF3DNodesReferencesData`** pp3DNodesReferences)

  Function to automatically compute a bill of material (BOM) from a modelfile.

  The function returns an array of elements in the BOM. Each element is the set of components in the assembly associated with the part.

  Parameters

  > pModelFile: The model file to work with.

  > pPrcWriteHelper: Used to get PRC data such as unique identifiers for PRC nodes.

  > bHierarchical: True if the BOM is hierarchical, false if it is flattened.

  > piNbElements: The number of elements in the BOM. In a bom table, it would be the number of lines.

  > ppBomElementInfo: Array of details of the elements in the BOM.

  > pp3DNodesReferences: Array of details of the node references for elements in the BOM.

  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...