ray.lucas
2006-02-20, 04:33 AM
I've got a feeling that there is a setting that I've over looked, but after some frustration, its best to see if any one here can help.
Running a simple script which opens a drawing, runs a lisp, then closes and saves the file. The problem is on opening the drawing, and closing the default drawing.
The script,
OPEN
CS-M-01.DWG
plot_2D
QUIT
y
The script is dragged into an newly open AutoCAD window with the following variations.
Machine 1 - runs the script without any problems.
Machine 2 – The prompt, "Really want to discard all changes to drawing? <N>" refering to drawing1.dwg
If the script is modified to
OPEN
y
CS-M-01.DWG
plot_2D
QUIT
y
Machine 1 – Attempts to open drawing Y
Machine 2 – runs the script without any problems.
I have two options, one place a zoom extents before the open, then the file is modified and will always ask, “Really want to discard all changes to drawing? <N>” or find out why machine 2 asks this question when machine 1 will not. Option 1 is bad programming, so I would like to see if anyone can help me.
Running a simple script which opens a drawing, runs a lisp, then closes and saves the file. The problem is on opening the drawing, and closing the default drawing.
The script,
OPEN
CS-M-01.DWG
plot_2D
QUIT
y
The script is dragged into an newly open AutoCAD window with the following variations.
Machine 1 - runs the script without any problems.
Machine 2 – The prompt, "Really want to discard all changes to drawing? <N>" refering to drawing1.dwg
If the script is modified to
OPEN
y
CS-M-01.DWG
plot_2D
QUIT
y
Machine 1 – Attempts to open drawing Y
Machine 2 – runs the script without any problems.
I have two options, one place a zoom extents before the open, then the file is modified and will always ask, “Really want to discard all changes to drawing? <N>” or find out why machine 2 asks this question when machine 1 will not. Option 1 is bad programming, so I would like to see if anyone can help me.