Synopsis

PDX_MSGT jint_JTToParasolid2(long option, char *jtFile, char *parasolidName, char *configFile, int *nTotalParts, int *nXTJTParts)

Purpose

Convert JT to parasolid.

Description

This function will extract the xt brep data (aka parasolid) from the jt file and save it as a parasolid text (.x_t) or binary (.x_b) file. If the jt file is an assembly, the assembly structure will be preserved in the created parasolid file.

Input

option

JINT_SAVE_AS_BINARY

Save parasolid file as binary

JINT_OUTPUT_PROGRESS

Print processing information

jtFile

Name of JT file

parasolidName

Name of parasolid file (no extension)

configFile

Name of configuration file or NULL

Output

nTotalParts

Number of total parts

nXTJTParts

Number of parts containing XT and/or JT data

Return

Error code or JINT_NOERR