Reading Parasolid Files
To read a Parasolid file, call HP_Read_Xmt_File. This parses the specified Parasolid file, populates the Parasolid modeling kernel with its contents, and then maps the model to a corresponding HOOPS segment tree hierarchy that includes all geometry and attributes.
The HOOPS/Parasolid Reference Application contains an example of how to use this function. Refer to the HParaModel::Read function located in HSolidModel.cpp.
Controlling Tessellation
You can control facet tessellation as an import argument. In HP_Read_Xmt_File, use the face_tessellation_level parameter to specify tessellation. Valid options are as follows:
- "Lowest"
- "Low"
- "Medium"
- "High"
- "Highest"
- "Custom"
"Custom" is the default, which means the developer is responsible for setting all the tessellation options himself. You can also set tessellation options in HP_Render_Entity and HP_Render_Entities. Examples of the effect of the tessellation are shown below:

"Custom" tessellation

"Medium" tessellation

"Highest" tessellation