5 #ifndef _CROSSCADWARE_H_
6 #define _CROSSCADWARE_H_
10 #define DTK_IN 1 // Internal use
11 #define DTK_ACIS 2 // Acis files .sat or .sab
12 #define DTK_STEP 4 // Step files .stp .step
13 #define DTK_PARASOLID 5 // Parasolid files .x_t .x_b .xmt
14 #define DTK_IGES 6 // Iges files .igs .iges
15 #define DTK_CATIAV4 8 // Catia V4 files
16 #define DTK_CATIAV5 9 // Catia V5 files
17 #define DTK_PROE 12 // ProEngineer - Creo files
18 #define DTK_ROBFACE 13 // Robface files
19 #define DTK_ROBFACE_FACET 14 // Robface facetted files
20 #define DTK_SOLIDWORKS 15 // Solidworks files
21 #define DTK_SOLIDEDGE 16 // Solidedge files
22 #define DTK_UNIGRAPHICS 17 // Unigraphics NX files
23 #define DTK_UNISURF 20 // Unisurf files
24 #define DTK_JT 21 // Jt files
25 #define DTK_STL 22 // Stl files
26 #define DTK_VRML 23 // Vrml files
27 #define DTK_INVENTOR 25 // Inventor files
28 #define DTK_CGR 26 // Cgr files
29 #define DTK_3DXML 28 // 3DXml files
30 #define DTK_DXF 33 // Dxf 2D Files
31 #define DTK_CATIAV6 34 // Catia V6 files
32 #define DTK_DWG 35 // Dwg files
33 #define DTK_PLMXML 36 // PLM Xml files
34 #define DTK_COLLADA 37 // Collada files
35 #define DTK_PDF 39 // Pdf 3D files
36 #define DTK_OCC 42 // Open Cascade files
37 #define DTK_BREPOCC 42 // Open Cascade Brep files
38 #define DTK_PDF2D 43 // Pdf Drawing files
39 #define DTK_3DM 44 // Rhinoceros 3D files
40 #define DTK_OBJ 45 // Rhinoceros 3D files
41 #define DTK_PARASOLIDB 46 // Parasolid files .x_b
42 #define DTK_PRC 47 // PRC files
43 #define DTK_IFC 48 // IFC files
44 #define DTK_EMF 49 // EMF files
45 #define DTK_3MF 50 // 3MF files
46 #define DTK_RVT 52 // Revit files
47 #define DTK_CRV 53 // CreoView files
48 #define DTK_GLTF 54 // Gltf files
49 #define DTK_FBX 55 // Fbx files
50 #define DTK_SMG 58 // Smg files
51 #define DTK_F3D 59 // F3d files
52 #define DTK_NAVIS 62 // Navis files
53 #define DTK_DXF3D 63 // DXF 3D files
54 #define DTK_QIF 65 // Qif files
55 #define DTK_ZW3D 66 // Zw3d files
56 #define DTK_USD 67 // Usd files
61 #define EXPORT_DEF __declspec(dllexport)
70 typedef void( *Progress_dtk ) (
int* inProgressBarNumber,
int* inPercent );
77 extern "C" int EXPORT_DEF _dtkGetVersion();
82 extern "C" int EXPORT_DEF _dtkGetRelease();
104 extern "C" int EXPORT_DEF _dtkConvert20(
107 wchar_t* inInputFile,
108 wchar_t* inOutputFile,
109 wchar_t* inConfigFile,
110 wchar_t* inSchemaDirectory,
111 Progress_dtk inProgressBarFunction,
112 int inRemoveProgressDialogBoxes,
118 wchar_t* inSerialTest );
149 extern "C" int EXPORT_DEF _dtkCheckFormat(
const wchar_t* inInputFile );
157 extern "C" int EXPORT_DEF dtkCheckFormat(
const char* inInputFile );
165 extern "C" wchar_t EXPORT_DEF* _dtkCheckFormatString(
const wchar_t* inInputFile );
176 extern "C" int EXPORT_DEF _dtkCheckFileVersion(
const wchar_t* inInputFile,
wchar_t** outVersion );
179 extern "C" int EXPORT_DEF _dtkCheckVersion(
const wchar_t* inInputFile,
char** outVersion );
187 extern "C" int EXPORT_DEF _dtkTypeError(
int errNumber,
wchar_t** outError );
197 extern "C" int EXPORT_DEF _dtkTestFlexlmProduct(
char* inInputFlexlmProductName );
220 extern "C" EXPORT_DEF
int _FindAssemblyChildren(
221 const wchar_t* inFileName,
222 wchar_t**& outChildren,
223 size_t& outChildrenCount,
224 const wchar_t* inSchemaDirectory,
226 wchar_t* inSerialTest );
246 extern "C" EXPORT_DEF
int _FindRootAssemblies(
247 const wchar_t* inDirectory,
248 wchar_t**& outChildren,
249 size_t& outChildrenCount,
250 const wchar_t* inSchemaDirectory,
252 wchar_t* inSerialTest );