
##################################
A3DComputePlanarSectionOnModelFile
##################################

.. c:function:: A3DStatus A3DComputePlanarSectionOnModelFile(A3DAsmModelFile const *pModelFile, A3DPlanarSectionData const *psSectionParametersData, A3DUns32 *pNumberOfSections, A3DRiSet ***pppRISectionElements)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DComputePlanarSectionOnModelFile(:c:type:`~A3DAsmModelFile`\ \* **pModelFile**\ , :c:struct:`~A3DPlanarSectionData`\ \* **psSectionParametersData**\ , :c:type:`~A3DUns32`\ \* **pNumberOfSections**\ , :c:type:`~A3DRiSet`\ \*\*\* **pppRISectionElements**\ )
   
   Function to compute plane section on ModelFile.
   
   
      7.0
   
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
      **A3D_INITIALIZE_NOT_CALLED**\ :
   
      **A3D_INVALID_DATA_STRUCT_SIZE**\ :
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ :
   
      **A3D_INVALID_ENTITY_NULL**\ :
   
      **A3D_INVALID_ENTITY_TYPE**\ :
   
      **A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE**\ :
   
      **A3D_ERROR**\ :
   
   
   **Parameters**
   
   
      **pModelFile**\ : Model file to section.
   
      **psSectionParametersData**\ : Parameters of the planar section.
   
      **pNumberOfSections**\ : Number of A3DRiSets.
   
      **pppRISectionElements**\ : Array of A3DRiSets. ppRISectionElements is automatically allocated by A3DComputePlanarSectionOnModelFile. It has to be freed with a call to A3DComputePlanarSectionOnModelFile(A3D_NULL_HANDLE, psSectionParametersData, pNumberOfSections, ppRISectionElements).
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




