Library | Package Java Toolkit

Interface PlotInstructions

package com.ptc.pfc.pfcModel;

public interface PlotInstructions
  extends com.ptc.pfc.pfcModel.ExportInstructions



Description

Instructions object used to plot drawings.

This export-instructions class has been superseeded by PrinterInstructions objects.
See Also:
pfcModel.PlotInstructions_Create(String), Model.Export(String, ExportInstructions)



Method Summary
/*optional*/ IntegerGetFirstPage ()
    Get method for attribute "FirstPage"
    When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null
booleanGetLabelPlot ()
    Get method for attribute "LabelPlot"
    If set to true , generates the plot with a label. Default is false; no label is created.
/*optional*/ IntegerGetLastPage ()
    Get method for attribute "LastPage"
    When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null
intGetOutputQuality ()
    Get method for attribute "OutputQuality"
    A value of 0, 1, 2, or 3. Default is 1. Defines the amount of checking for overlapping lines in a plot or 2-D export file, such as IGES, before making a file.

The values are interpreted as follows:
  • 0-Does not check for overlapping lines or collect lines of the same pen color.
  • 1-Does not check for overlapping lines, but collects lines of the same pen color for plotting.
  • 2-Partially checks edges with two vertices, and collects lines of the same pen color for plotting.
  • 3-Does a complete check of all edges against each other, regardless of the number of vertices, font, or color. Collects lines of the same pen color for plotting.
PlotPageRangeGetPageRangeChoice ()
    Get method for attribute "PageRangeChoice"
    One of the PlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.
PlotPaperSizeGetPaperSize ()
    Get method for attribute "PaperSize"
    One of the PlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.
/*optional*/ DoubleGetPaperSizeX ()
    Get method for attribute "PaperSizeX"
    When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null
/*optional*/ DoubleGetPaperSizeY ()
    Get method for attribute "PaperSizeY"
    When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.
booleanGetPenSlew ()
    Get method for attribute "PenSlew"
    Set to true if you want to adjust pen velocity. Default is false.
doubleGetPenVelocityX ()
    Get method for attribute "PenVelocityX"
    When PenSlew is true, this value is a multiple of the default pen speed in the X dimension. Permitted range is 0.1 to 100. Ignored when PenSlew is false.
doubleGetPenVelocityY ()
    Get method for attribute "PenVelocityY"
    When PenSlew is true, this value is a multiple of the default pen speed in the y dimension. Permitted range is 0.1 to 100. Ignored when PenSlew is false.
StringGetPlotterName ()
    Get method for attribute "PlotterName"
    c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC
booleanGetSegmentedOutput ()
    Get method for attribute "SegmentedOutput"
    Set to true to generate a segmented plot. Default is false.This may be true only if you are plotting a single page.
booleanGetSeparatePlotFiles ()
    Get method for attribute "SeparatePlotFiles"
    Defines the default in the Print to File dialog box.
  • true-Sets the default to Create Separate Files.
  • false -A single file is created by default.
doubleGetUserScale ()
    Get method for attribute "UserScale"
    Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.
voidSetFirstPage ( /*optional*/ Integer value)
    Set method for attribute "FirstPage"
    When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null
voidSetLabelPlot (boolean value)
    Set method for attribute "LabelPlot"
    If set to true , generates the plot with a label. Default is false; no label is created.
voidSetLastPage ( /*optional*/ Integer value)
    Set method for attribute "LastPage"
    When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null
voidSetOutputQuality (int value)
    Set method for attribute "OutputQuality"
    A value of 0, 1, 2, or 3. Default is 1. Defines the amount of checking for overlapping lines in a plot or 2-D export file, such as IGES, before making a file.

The values are interpreted as follows:
  • 0-Does not check for overlapping lines or collect lines of the same pen color.
  • 1-Does not check for overlapping lines, but collects lines of the same pen color for plotting.
  • 2-Partially checks edges with two vertices, and collects lines of the same pen color for plotting.
  • 3-Does a complete check of all edges against each other, regardless of the number of vertices, font, or color. Collects lines of the same pen color for plotting.
voidSetPageRangeChoice (PlotPageRange value)
    Set method for attribute "PageRangeChoice"
    One of the PlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.
voidSetPaperSize (PlotPaperSize value)
    Set method for attribute "PaperSize"
    One of the PlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.
voidSetPaperSizeX ( /*optional*/ Double value)
    Set method for attribute "PaperSizeX"
    When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null
voidSetPaperSizeY ( /*optional*/ Double value)
    Set method for attribute "PaperSizeY"
    When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.
voidSetPenSlew (boolean value)
    Set method for attribute "PenSlew"
    Set to true if you want to adjust pen velocity. Default is false.
voidSetPenVelocityX (double value)
    Set method for attribute "PenVelocityX"
    When PenSlew is true, this value is a multiple of the default pen speed in the X dimension. Permitted range is 0.1 to 100. Ignored when PenSlew is false.
voidSetPenVelocityY (double value)
    Set method for attribute "PenVelocityY"
    When PenSlew is true, this value is a multiple of the default pen speed in the y dimension. Permitted range is 0.1 to 100. Ignored when PenSlew is false.
voidSetPlotterName (String value)
    Set method for attribute "PlotterName"
    c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC
voidSetSegmentedOutput (boolean value)
    Set method for attribute "SegmentedOutput"
    Set to true to generate a segmented plot. Default is false.This may be true only if you are plotting a single page.
voidSetSeparatePlotFiles (boolean value)
    Set method for attribute "SeparatePlotFiles"
    Defines the default in the Print to File dialog box.
  • true-Sets the default to Create Separate Files.
  • false -A single file is created by default.
voidSetUserScale (double value)
    Set method for attribute "UserScale"
    Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.

Methods Inherited from Interface com.ptc.pfc.pfcModel.ExportInstructions
GetFileType

Method Detail

GetPlotterName/SetPlotterName

StringGetPlotterName ()
voidSetPlotterName (String value)


    c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC

Note: MS_PRINT_MGR is not supported



GetOutputQuality/SetOutputQuality

intGetOutputQuality ()
voidSetOutputQuality (int value)


    A value of 0, 1, 2, or 3. Default is 1. Defines the amount of checking for overlapping lines in a plot or 2-D export file, such as IGES, before making a file.

The values are interpreted as follows:
  • 0-Does not check for overlapping lines or collect lines of the same pen color.
  • 1-Does not check for overlapping lines, but collects lines of the same pen color for plotting.
  • 2-Partially checks edges with two vertices, and collects lines of the same pen color for plotting.
  • 3-Does a complete check of all edges against each other, regardless of the number of vertices, font, or color. Collects lines of the same pen color for plotting.




GetUserScale/SetUserScale

doubleGetUserScale ()
voidSetUserScale (double value)


    Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.



GetPenSlew/SetPenSlew

booleanGetPenSlew ()
voidSetPenSlew (boolean value)


    Set to true if you want to adjust pen velocity. Default is false.



GetPenVelocityX/SetPenVelocityX

doubleGetPenVelocityX ()
voidSetPenVelocityX (double value)


    When PenSlew is true, this value is a multiple of the default pen speed in the X dimension. Permitted range is 0.1 to 100. Ignored when PenSlew is false.



GetPenVelocityY/SetPenVelocityY

doubleGetPenVelocityY ()
voidSetPenVelocityY (double value)


    When PenSlew is true, this value is a multiple of the default pen speed in the y dimension. Permitted range is 0.1 to 100. Ignored when PenSlew is false.



GetSegmentedOutput/SetSegmentedOutput

booleanGetSegmentedOutput ()
voidSetSegmentedOutput (boolean value)


    Set to true to generate a segmented plot. Default is false.This may be true only if you are plotting a single page.



GetLabelPlot/SetLabelPlot

booleanGetLabelPlot ()
voidSetLabelPlot (boolean value)


    If set to true , generates the plot with a label. Default is false; no label is created.



GetSeparatePlotFiles/SetSeparatePlotFiles

booleanGetSeparatePlotFiles ()
voidSetSeparatePlotFiles (boolean value)


    Defines the default in the Print to File dialog box.
  • true-Sets the default to Create Separate Files.
  • false -A single file is created by default.




GetPaperSize/SetPaperSize

PlotPaperSizeGetPaperSize ()
voidSetPaperSize (PlotPaperSize value)


    One of the PlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.



GetPageRangeChoice/SetPageRangeChoice

PlotPageRangeGetPageRangeChoice ()
voidSetPageRangeChoice (PlotPageRange value)


    One of the PlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.



GetPaperSizeX/SetPaperSizeX

/*optional*/ DoubleGetPaperSizeX ()
voidSetPaperSizeX ( /*optional*/ Double value)


    When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null



GetPaperSizeY/SetPaperSizeY

/*optional*/ DoubleGetPaperSizeY ()
voidSetPaperSizeY ( /*optional*/ Double value)


    When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.



GetFirstPage/SetFirstPage

/*optional*/ IntegerGetFirstPage ()
voidSetFirstPage ( /*optional*/ Integer value)


    When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null



GetLastPage/SetLastPage

/*optional*/ IntegerGetLastPage ()
voidSetLastPage ( /*optional*/ Integer value)


    When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null