API Documentation > Classes > Class pfcPlotInstructions
Class pfcPlotInstructions
Description
Instructions object used to plot drawings.
This export-instructions class has been superseeded by pfcPrinterInstructions objects.
See Also:
Direct Parent Classes:
User Guide References:
Property Summary
/* optional */ number
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null
boolean
If set to true , generates the plot with a label. Default is false; no label is created.
/* optional */ number
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null
number
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.
One of the pfcPlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.
One of the pfcPlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.
/* optional */ number
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null
/* optional */ number
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.
boolean
Set to true if you want to adjust pen velocity. Default is false.
number
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.
number
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.
string
c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC
boolean
Set to true to generate a segmented plot. Default is false.This may be true only if you are plotting a single page.
boolean
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.
number
Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.
Method Summary
Create (string PlotterName)
Creates a new instructions object used to plot a part, drawing, or assembly.
Property Detail
/* optional */ number
FirstPage
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null
boolean
LabelPlot
If set to true , generates the plot with a label. Default is false; no label is created.
/* optional */ number
LastPage
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null
number
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.
PageRangeChoice
One of the pfcPlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.
One of the pfcPlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.
/* optional */ number
PaperSizeX
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null
/* optional */ number
PaperSizeY
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.
boolean
PenSlew
Set to true if you want to adjust pen velocity. Default is false.
number
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.
number
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.
string
PlotterName
c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC
Note: MS_PRINT_MGR is not supported
boolean
SegmentedOutput
Set to true to generate a segmented plot. Default is false.This may be true only if you are plotting a single page.
boolean
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.
number
UserScale
Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.
Method Detail
Create
(string 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() 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
User Guide References:
Was this helpful?