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_CADDS 7 // Cadds files _pd
16 #define DTK_CATIAV4 8 // Catia V4 files
17 #define DTK_CATIAV5 9 // Catia V5 files
18 #define DTK_PROE 12 // ProEngineer - Creo files
19 #define DTK_ROBFACE 13 // Robface files
20 #define DTK_ROBFACE_FACET 14 // Robface facetted files
21 #define DTK_SOLIDWORKS 15 // Solidworks files
22 #define DTK_SOLIDEDGE 16 // Solidedge files
23 #define DTK_UNIGRAPHICS 17 // Unigraphics NX files
24 #define DTK_VDAFS 18 // Vda files
25 #define DTK_UNISURF 20 // Unisurf files
26 #define DTK_JT 21 // Jt files
27 #define DTK_STL 22 // Stl files
28 #define DTK_VRML 23 // Vrml files
29 #define DTK_INVENTOR 25 // Inventor files
30 #define DTK_CGR 26 // Cgr files
31 #define DTK_3DXML 28 // 3DXml files
32 #define DTK_CEREC 29 // Cerec files
33 #define DTK_DCM 30 // Dcm files
34 #define DTK_PROCERA 31 // Procera files
35 #define DTK_CERCON 32 // Cercon files
36 #define DTK_DXF 33 // Dxf 2D Files
37 #define DTK_CATIAV6 34 // Catia V6 files
38 #define DTK_DWG 35 // Dwg files
39 #define DTK_PLMXML 36 // PLM Xml files
40 #define DTK_COLLADA 37 // Collada files
41 #define DTK_U3D 38 // U3D files
42 #define DTK_PDF 39 // Pdf 3D files
43 #define DTK_RNXML 41 // RnXml files
44 #define DTK_OCC 42 // Open Cascade files
45 #define DTK_BREPOCC 42 // Open Cascade Brep files
46 #define DTK_PDF2D 43 // Pdf Drawing files
47 #define DTK_3DM 44 // Rhinoceros 3D files
48 #define DTK_OBJ 45 // Rhinoceros 3D files
49 #define DTK_PARASOLIDB 46 // Parasolid files .x_b
50 #define DTK_PRC 47 // PRC files
51 #define DTK_IFC 48 // IFC files
52 #define DTK_EMF 49 // EMF files
53 #define DTK_3MF 50 // 3MF files
54 #define DTK_RVT 52 // Revit files
55 #define DTK_CRV 53 // CreoView files
56 #define DTK_GLTF 54 // Gltf files
57 #define DTK_FBX 55 // Fbx files
58 #define DTK_SMG 58 // Smg files
59 #define DTK_F3D 59 // F3d files
60 #define DTK_DSTV 60 // Dstv files
61 #define DTK_CGM 61 // Cgm files
62 #define DTK_NAVIS 62 // Navis files
63 #define DTK_DXF3D 63 // DXF 3D files
64 #define DTK_QIF 65 // Qif files
65 #define DTK_ZW3D 66 // Zw3d files
70 #define EXPORT_DEF __declspec(dllexport)
79 typedef void( *Progress_dtk ) (
int* inProgressBarNumber,
int* inPercent );
86 extern "C" int EXPORT_DEF _dtkGetVersion();
91 extern "C" int EXPORT_DEF _dtkGetRelease();
113 extern "C" int EXPORT_DEF _dtkConvert20(
116 wchar_t* inInputFile,
117 wchar_t* inOutputFile,
118 wchar_t* inConfigFile,
119 wchar_t* inSchemaDirectory,
120 Progress_dtk inProgressBarFunction,
121 int inRemoveProgressDialogBoxes,
127 wchar_t* inSerialTest );
158 extern "C" int EXPORT_DEF _dtkCheckFormat(
const wchar_t* inInputFile );
166 extern "C" int EXPORT_DEF dtkCheckFormat(
const char* inInputFile );
174 extern "C" wchar_t EXPORT_DEF* _dtkCheckFormatString(
const wchar_t* inInputFile );
185 extern "C" int EXPORT_DEF _dtkCheckFileVersion(
const wchar_t* inInputFile,
wchar_t** outVersion );
188 extern "C" int EXPORT_DEF _dtkCheckVersion(
const wchar_t* inInputFile,
char** outVersion );
196 extern "C" int EXPORT_DEF _dtkTypeError(
int errNumber,
wchar_t** outError );
206 extern "C" int EXPORT_DEF _dtkTestFlexlmProduct(
char* inInputFlexlmProductName );
229 extern "C" EXPORT_DEF
int _FindAssemblyChildren(
230 const wchar_t* inFileName,
231 wchar_t**& outChildren,
232 size_t& outChildrenCount,
233 const wchar_t* inSchemaDirectory,
235 wchar_t* inSerialTest );
255 extern "C" EXPORT_DEF
int _FindRootAssemblies(
256 const wchar_t* inDirectory,
257 wchar_t**& outChildren,
258 size_t& outChildrenCount,
259 const wchar_t* inSchemaDirectory,
261 wchar_t* inSerialTest );