So, I'm still confused with this script.
(edit: there is a space after "_ZOOM E", but it's not showing above for reasons I guess due to the forum software.)Code:_PLINE -79.289,-229.289 -79.289,-200 20.711,-200 20,711,-229.289 _CLOSE _LINE -96.860,32.583 56.082,32.583 _ZOOM E
If I literally copy the above code and paste it into the command line it does exactly what I expect and this is seen in the command line window.
But, if I try to tun it as a script (there is nothing else at all in the script), it fails. It hangs while asking for the next point for the PLINE. This is what is seen in the command line window.Command: _PLINE
Specify start point: -79.289,-229.289
Current line-width is 0.0000
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: -79.289,-200
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: 20.711,-200
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: 20,711,-229.289
2D point or option keyword required.
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: _CLOSE
Command:
PLINE
Specify start point: _LINE
Invalid point.
Specify start point: -96.860,32.583
Current line-width is 0.0000
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: 56.082,32.583
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:
Command: _ZOOM
Specify corner of window, enter a scale factor (nX or nXP), or
[All/Center/Dynamic/Extents/Previous/Scale/Window/Object] <real time>: E
(The last cancel is after I hit escape to stop it from hanging.)Command: script
Command: _PLINE
Specify start point: -79.289,-229.289
Current line-width is 0.0000
Specify next point or [Arc/Halfwidth/Length/Undo/Width]: -79.289,-200
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: 20.711,-200
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: 20,711,-229.289
2D point or option keyword required.
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: *Cancel*
Any ideas? It is really confusing me.





Reply With Quote
LT is still AutoCAD
Bookmarks