Class ExternalFormatExporter
This abstract class handles common export formats.
abstract class ExternalFormatExporter
Hierarchical Diagram
Direct Known Subclasses
SingleSheetExporter, MultiSheetExporter
Methods
createFile
public abstract boolean createFile()
True—The export succeeded.
setSheets
The Sheet objects representing the sheets to export.
public void setSheets(Vector<Sheet> sheets)
Where:
sheets—The names of the sheets to export.
When setting sheets, selection mode is automatically set to SELECTION. Not available for export to CGM and MEDUSA.
setSheetSelectionMode
Sets the mode for selecting sheets to export.
public void setSheetSelectionMode (SheetSelection mode)
mode—Values can be ALL (default), SELECTION, or CURRENT.
Not available for export to CGM and MEDUSA, where the default and only value is CURRENT.
exportHiddenLayers
Exports items on hidden layers.
public void exportHiddenLayers(boolean exportHidden)
True—Exports items on all layers, hidden and visible.
False (default)—Exports items only on visible layers.
Not available for export to EDA.
fitToSheet
Scales the design sheet to fit the exported sheet.
public void fitToSheet(boolean scale)
True—Scales the design sheet according to the set scale.
False (default)—Does not scale the design sheet.
Not available for export to EDA.
strokeSpecialChars
Exports special characters as stroked graphics.
public void strokeSpecialChars(boolean stroke)
True—Strokes special characters.
False (default)—Does not stroke special characters.
Not available for export to EDA and MEDUSA.
updateSheets
Updates the design sheets before export.
public void updateSheets(boolean update)
True—Updates the design sheets before exporting them.
False (default)—Does not update the design sheets before export.
overwrite
Overwrites an existing export file.
public void overwrite(boolean overwrite)
True (default)—Overwrites an existing export file with the same name.
False—Does not overwrite an existing file.
mapLineFont
Maps a Creo Schematics line font to an exported line font, when default mappings are already set.
public void mapLineFont (SchematicsLineFont from, ExportedLineFont to)
from—The Schematics line font.
to—The export file line font.
Not available for export to EDA.
mapLayer
Maps Creo Schematics layer to an exported layer, when default mappings are already set.
public void mapLayer(Layer from, String to)
from—The name of the Creo Schematics layer.
to—The name of the export layer.
Throws: RSDException when the layer is not in the current design.