Synopsis
PDX_MSGT ppir_ParasolidToModel(long option, int pint_model, char *file, MDA_ENTITY_LIST *ent_list, void *func)
Purpose
Read a Parasolid File into a MDA PINT model.
Description
Read a Parasolid File into a MDA PINT model.
Before using this program, Parasolid session should have been started using pint_StartParasolidSession function call.
Program process independent parasolid bodies and assemblies only. Program stores independent PINT entities in a MDA ENTITY LIST. Caller should close the parasolid session using pint_StopParasolidSession function call.
Input
option
PPIR_JOURNAL
Turn on parasolid journal file creation. This will create a journal file of accesses to parasolid which occur during the PPIR read process.
PPIR_CHECK_BODY
Invoke the Body Checker on each Parasolid Body
PPIR_LOAD_ASSEMBLY_TREE
Only read the assembly tree
PPIR_MAKE_MANIFOLD_BODIES
Split a general body into manifold bodies
pint_model
MDA PINT model
file
Filename
func
The function to call for each entity created in Parasolid file
ent_list
MDA_ENTITY_LIST of top level entities created in pint_model.
Output
ent_list
MDA_ENTITY_LIST of top level entities created in pint_model.
Return
PPIR_NOERR
.fi