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

dbExportDrill

Previous pageReturn to chapter overviewNext page

Contains all information required for DXF export.

bar_dot

 

Member Functions:

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

 

void        setExportFolder( char *value )

THIS FUNCTION IS REQUIRED

Sets the export folder name to output files.

 

void  addExportLayer( char *layer )

THIS FUNCTION IS REQUIRED

Assign layer to export as drill data.  Note: If the layer is not a drill layer and/or doesn't contain any drill hits, then nothing will be exported.

 

void        setJobName( char *value )

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 )

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

 

void        setInteger( int value )

Sets the integer value to use during drill export.  The default is "2".

 

void        setDecimal( int value )

Sets the decimal value to use during drill export.  The default is "4".

Note: This controls the decimal accuracy of the outputted drill files. A value of 4,5, or 6 is recommended.

 

void        setType( int value )

Sets the output data type to use during drill export.  Choose from either: dbcDataTypeNormal or dbcDataTypeIncremental.

The default is dbcDataTypeNormal

 

void        setSuppression( int value )

Sets the Zero Suppression to use during drill export.  Choose from: dbcSuppressLeading, dbcSuppressTrailing or dbcSuppressNone.

The default is dbcSuppressTrailing

 

void        setStepRepeat( int value )

Determine whether to use Step & Repeat during the drill export.  The default is 0  (off).

Note: This option is only useful if you have drill data panelized in an arrayed insert.

 

void        setExtension( char *value )

Assign the file extension for the drill files.  The default is "drl".

 

void        clearAll()

Clear All Layers assigned for drill export.