GO2cam Javascript API  6.11
GO2SInterfaceUtil Class Reference

Import management class. More...

Inherits QObject.

Static Public Member Functions

static GO2SEnum::GO2SError ExportCAD (String dir, String name)
 
static GO2SEnum::GO2SError ExportCAD (String filename)
 Export a CAD file.
 
static GO2SEnum::GO2SError ExportPCE (String dir, String name)
 Export a PCE (GO2Cam binary file)
 
static GO2SEnum::GO2SError ExportPCE (String filename)
 Export a PCE (GO2Cam binary file)
 
static GO2SEnum::GO2SError ImportCAD (String dir, String name)
 
static GO2SEnum::GO2SError ImportCAD (String filename)
 Empties memory and import a CAD file.
 
static GO2SEnum::GO2SError ImportLayer (String filename)
 Import a LAYER (GO2Cam layer file)
 
static GO2SEnum::GO2SError ImportPCE (String dir, String name, Boolean importOn=false)
 Import a PCE (GO2Cam binary file)
 
static GO2SEnum::GO2SError ImportPCE (String filename, Boolean importOn=false)
 Import a PCE (GO2Cam binary file)
 

Detailed Description

Import management class.

Member Function Documentation

◆ ExportCAD() [1/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ExportCAD ( String dir,
String name )
static

Export a CAD file

Remarks
The recognized files are of the following type :
AUTOCAD DXF, AUTOCAD DWG,
ACIS SAT, CATIA NATIF, STEP, IGES, VDA,
HPGL, ISO CN, TELL 2D, ME10 MI, PTS,
PRO - ENG.
Parameters
[in]dirfile directory
[in]namefile name

◆ ExportCAD() [2/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ExportCAD ( String filename)
static

Export a CAD file.

Parameters
[in]filenamecomplete file path

◆ ExportPCE() [1/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ExportPCE ( String dir,
String name )
static

Export a PCE (GO2Cam binary file)

Parameters
[in]dirfile directory
[in]namefile name

◆ ExportPCE() [2/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ExportPCE ( String filename)
static

Export a PCE (GO2Cam binary file)

Parameters
[in]filenamecomplete file path

◆ ImportCAD() [1/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ImportCAD ( String dir,
String name )
static

Empties memory and import a CAD file

Remarks
The recognized files are of the following type :
AUTOCAD DXF, AUTOCAD DWG,
ACIS SAT, CATIA NATIF, STEP, IGES, VDA,
HPGL, ISO CN, TELL 2D, ME10 MI, PTS,
PRO - ENG.
Parameters
[in]dirfile directory
[in]namefile name

◆ ImportCAD() [2/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ImportCAD ( String filename)
static

Empties memory and import a CAD file.

Parameters
[in]filenamecomplete file path

◆ ImportLayer()

static GO2SEnum::GO2SError GO2SInterfaceUtil::ImportLayer ( String filename)
static

Import a LAYER (GO2Cam layer file)

Parameters
[in]filenamecomplete file path of the layer file

◆ ImportPCE() [1/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ImportPCE ( String dir,
String name,
Boolean importOn = false )
static

Import a PCE (GO2Cam binary file)

Parameters
[in]dirfile directory
[in]namefile name
[in]importOnif true, import the PCE file content in the existing database, empties memory before import otherwise

◆ ImportPCE() [2/2]

static GO2SEnum::GO2SError GO2SInterfaceUtil::ImportPCE ( String filename,
Boolean importOn = false )
static

Import a PCE (GO2Cam binary file)

Parameters
[in]filenamecomplete file path
[in]importOnif true, import the PCE file content in the existing database, empties memory before import otherwise