Synopsis
PDX_MSGT jint_JTToGDX(long option, char *jtFile, int gdxModel, char *configFile, int lod)
Purpose
Map JT to GDX
Description
The vertices of each JtkShape in the specified lod will be used to create GDX entities. If the JtkShape is of type JtkTRISTRIPSET a gdx poly shell will be created. Since each vertex in the tristrip has its own normal, the average of all 3 normals will be used to determine the created polygon normal. If the JtkShape is of type JtkPOINTSET a single point gdx polyline will be created. If the JtkShape is of type JtkLINESTRIPSET a multi-point gdx polyline will be created. Other types of JtkShape are not supported at this time. If the JT file contains assembly information, the structure will be maintained and mapped to gdx components.
Input
option
JINT_OUTPUT_PROGRESS
Print processing information
jtFile
Name of JT file to read
gdxModel
GDX model to write
configFile
Name of configuration file or NULL
lod
Level of detail to process (1 being the most detailed)
Return
Error code or JINT_NOERR