API Documentation > Interface Classes > Class pfcPlotInstructions
Class pfcPlotInstructions

# include <pfcModel.h>

class
pfcPlotInstructions
: public virtual
pfcExportInstructions
{
xdeclare(pfcPlotInstructions)
...
};
This is a
COMPACT class.

Description
Instructions object used to plot drawings.
This export-instructions class has been superseeded by pfcPrinterInstructions objects.
See Also:
Methods Inherited from Class pfcExportInstructions::
Method Summary
Create (xrstring PlotterName)
Creates a new instructions object used to plot a part, drawing, or assembly.
void
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null
void
If set to true , generates the plot with a label. Default is false; no label is created.
void
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null
void
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.
void
One of the pfcPlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.
void
One of the pfcPlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.
void
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null
void
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.
void
Set to true if you want to adjust pen velocity. Default is false.
void
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.
void
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.
void
c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC
void
Set to true to generate a segmented plot. Default is false.This may be true only if you are plotting a single page.
void
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.
void
Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.
Method Detail
GetPlotterName
()
void
SetPlotterName
(xrstring value)
c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC
Note: MS_PRINT_MGR is not supported
GetOutputQuality
()
void
SetOutputQuality
(xint 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
()
void
SetUserScale
(xreal value)
Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.
GetPenSlew
()
void
SetPenSlew
(xbool value)
Set to true if you want to adjust pen velocity. Default is false.
GetPenVelocityX
()
void
SetPenVelocityX
(xreal 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
()
void
SetPenVelocityY
(xreal 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
()
void
SetSegmentedOutput
(xbool 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
()
void
SetLabelPlot
(xbool value)
If set to true , generates the plot with a label. Default is false; no label is created.
GetSeparatePlotFiles
()
void
SetSeparatePlotFiles
(xbool 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
()
void
SetPaperSize
One of the pfcPlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.
GetPageRangeChoice
()
void
SetPageRangeChoice
One of the pfcPlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.
GetPaperSizeX
()
void
SetPaperSizeX
(cipOptional xreal value)
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null
GetPaperSizeY
()
void
SetPaperSizeY
(cipOptional xreal value)
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.
GetFirstPage
()
void
SetFirstPage
(cipOptional xint value)
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null
GetLastPage
()
void
SetLastPage
(cipOptional xint value)
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null
Create
(xrstring PlotterName)
Creates a new instructions object used to plot a part, drawing, or assembly.
The drawing must be displayed in a window to be successfully plotted. The return value must be passed to pfcModel::Export(xrstring, pfcExportInstructions_ptr) to produce the output file. This export-instructions class has been superseeded by pfcPrinterInstructions objects.
Parameters:
PlotterName
The name of a printer, typed exactly as it would appear in a user's File > Print dialog.
Returns:
The instructions object
Was this helpful?