Navigation:  C/C++ Scripting Engine > Classes >

dbExportOdb

Previous pageReturn to chapter overviewNext page

Contains all information required for ODB++ export.

bar_dot

 

Member Functions:

================

 

void        setExportFile( char *value )

THIS FUNCTION IS REQUIRED - IF YOU WANT TO EXPORT ODB++ AS A COMPRESSED SINGLE (*.TGZ) FILE

Sets the export file name to output odb++ databse. Note: setUseCompression() must be set to 1.

 

void        setExportFolder( char *value )

THIS FUNCTION IS REQUIRED - IF YOU WANT TO EXPORT ODB++ FOLDER WITHOUT COMPRESSION

Sets the export folder name to output odb++ databse.  This function is used if you want to export the ODB++ database as a folder without compression. Note: setUseCompression() must be set to 0.

 

void        setUseCompression( int value )

OPTIONAL: DEFAULT VALUE = 1

This function determines whether to use compression during ODB++ export.

 

void        setJobName( char *value )

OPTIONAL

Sets the job name to use when outputing files.  Note:  If this function is not assigned, the active job name will be used.

 

void        setUnits( int value )

OPTIONAL: DEFAULT VALUE = dbcInch

Sets the gerber data units. Choose from either: dbcMillimeter or dbcInch

 

void        setOutputProfile( int value )

OPTIONAL: DEFAULT VALUE = 1

Outputs a profile for each ODB++ step that is exported.

 

void        setSymbolsAsBoundaries( int value )

OPTIONAL: DEFAULT VALUE = 0

Some CAM/CAD systems cannot load complex symbols generated from ODB++.  This feature compiles all symbols into simple polygons (ie. surfaces).

 

void        addExportLayer( char *layer )

Assign layer to export as odb++ data.  Note:  If this function is not assigned, all layers from the active job will be exported.

 

void        clearAll()

Clear All Layers assigned for odb++ export.