Library | Module

Class pfcPlotInstructions



Description

Instructions object used to plot drawings.

This export-instructions class has been superseeded by pfcPrinterInstructions objects.
See Also:
pfcPlotInstructions.Create(), pfcModel.Export()
Direct Parent Classes:
pfcExportInstructions



Property Summary

/* optional */ numberFirstPage
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the first page to print. Otherwise, the value is null
booleanLabelPlot
If set to true , generates the plot with a label. Default is false; no label is created.
/* optional */ numberLastPage
When PageRangeChoice is PlotPageRange.PLOT_RANGE_OF_PAGES, this specifies the last page to print. Otherwise, the value is null
numberOutputQuality
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.
pfcPlotPageRangePageRangeChoice
One of the pfcPlotPageRange enumeration objects. Default is PlotPageRange.PLOT_RANGE_ALL.
pfcPlotPaperSizePaperSize
One of the pfcPlotPaperSize enumeration objects. Default is PlotPaperSize.ASIZEPLOT.
/* optional */ numberPaperSizeX
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the X dimension. Otherwise, the value is null
/* optional */ numberPaperSizeY
When PaperSize is PlotPaperSize.VARIABLEPLOTSIZE, this specifies the size of the plotter paper in the Y dimension. Otherwise, the value is null.
booleanPenSlew
Set to true if you want to adjust pen velocity. Default is false.
numberPenVelocityX
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.
numberPenVelocityY
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.
stringPlotterName
c.f. The print dialog for support names eg: POSTSCRIPT, COLORPOSTSC
booleanSegmentedOutput
Set to true to generate a segmented plot. Default is false.This may be true only if you are plotting a single page.
booleanSeparatePlotFiles
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.
numberUserScale
Specifies a scale factor between 0.01 and 100 for scaling a model or drawing for plotting. Default is 0.01.



Method Summary

static pfcPlotInstructionsCreate (string PlotterName)
Creates a new instructions object used to plot a part, drawing, or assembly.



Property Detail


/* optional */ numberFirstPage

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




booleanLabelPlot

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




/* optional */ numberLastPage

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




numberOutputQuality

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.





pfcPlotPageRangePageRangeChoice

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




pfcPlotPaperSizePaperSize

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




/* optional */ numberPaperSizeX

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




/* optional */ numberPaperSizeY

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




booleanPenSlew

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




numberPenVelocityX

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.




numberPenVelocityY

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.




stringPlotterName

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

Note: MS_PRINT_MGR is not supported




booleanSegmentedOutput

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




booleanSeparatePlotFiles

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.





numberUserScale

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





Method Detail


static pfcPlotInstructionsCreate (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