home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
autocad
/
plotm224.arj
/
SCANPLOT.DOC
< prev
Wrap
Text File
|
1991-10-10
|
2KB
|
57 lines
ScanPlot - Plot Range Finder
John Intorcio
This little program is meant as a tool for finding the maximum and
minimum coordintes used in an HPGL or DM/PL plot file created by
AutoCAD.
The synatx is:
SCANPLOT <Filename>
Extensions are not allowed, .PLT is assumed.
Upon invocation, ScanPlot reports the assumed langauge of the plot file
and begins scanning the commands contained therein. It gives a vector
count to the screen so you can see that it's working.
On completion, ScanPlot returns the maximum and minimum points that are
used in the plot file.
ScanPlot can be used with PlotManager to determine the high and low
plotting ranges for a given plotter. To use ScanPlot with PlotManager,
begin by creating two AutoCAD drawings. Each of these drawings should
contain a single rectangle. The first rectangle should be much wider
than high and the second, much higher than wide. The idea is to make
the width the constraint on establishing extents on one and the height
the constraint on the other.
Next configure AutoCAD for the plotter model and sheet size in question
and plot each drawing to a file plotting extents and choosing the "Fit"
scaling option. You might want to call these plots H and V for
Horizontal and Vertical rectangles.
Now run ScanPlot on each of the plot files. The plot file created from
the Vertical rectangle will yield the maximum and minimum Y values and
the plot file created from the Horizontal rectangle will yield the
maximum and minimum X values.
You get the numbers like this:
Vertical rectangle plot:
Low Range: ?,Minimum Y Value
High Range: ?,Maximum Y Value
Horizontal rectangle plot:
Low Range: Minimum X Value,?
High Range: Maximum X Value,?
These values may then be used in defineing new plotters either by
editing PlotManager's emulation file or through the interactive
dialogue.