Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error message: 2d point or option keyword required

2,930 views
Skip to first unread message

Dan Shedd

unread,
Jul 10, 2002, 8:12:15 PM7/10/02
to
autocad newbie here using autocad lt 2000.

when I load the following script file I get the message "2D POINT or
OPTION KEYWORD REQUIRED";

LIMITS OFF
POINT 0,0
LINE 0,0 1,0
PLINE
0.0000000,0.0000000
0.1111111,0.0324002
0.2222222,0.0389878
0.3333333,0.0398501
0.4444444,0.0373921
0.5555556,0.0327428
0.6666667,0.0265355
0.7777778,0.0191065
0.8888889,0.0105679
1.0000000,0.0008400
PLINE
0.0000000,0.0000000
0.1111111,-.0324002
0.2222222,-.0389878
0.3333333,-.0398501
0.4444444,-.0373921
0.5555556,-.0327428
0.6666667,-.0265355
0.7777778,-.0191065
0.8888889,-.0105679
1.0000000,-.0008400
LIMITS ON


appreciate any assistance

tia

dan

Dennis Shinn

unread,
Jul 11, 2002, 12:55:41 PM7/11/02
to
Dan Shedd wrote:

> > ...... I get the message "2D POINT or
> OPTION KEYWORD REQUIRED";

Both the LINE and PLINE command require a carriage return (null entry)
to terminate. This is accomplished in a script file by using either a
space after the command (difficult to see in an ordinary text editor) or
a blank line in the script (prefered (by me, anyway, as being easier to
debug and read).

Thus, try modifying your script to:

>
>
> LIMITS OFF
> POINT 0,0
> LINE 0,0 1,0

<this line intentionally left blank to function as carriage return to
terminate line command>

> PLINE
> 0.0000000,0.0000000
> 0.1111111,0.0324002
> 0.2222222,0.0389878
> 0.3333333,0.0398501
> 0.4444444,0.0373921
> 0.5555556,0.0327428
> 0.6666667,0.0265355
> 0.7777778,0.0191065
> 0.8888889,0.0105679
> 1.0000000,0.0008400

<this line intentionally left blank to function as carriage return to
terminate pline command>

> PLINE
> 0.0000000,0.0000000
> 0.1111111,-.0324002
> 0.2222222,-.0389878
> 0.3333333,-.0398501
> 0.4444444,-.0373921
> 0.5555556,-.0327428
> 0.6666667,-.0265355
> 0.7777778,-.0191065
> 0.8888889,-.0105679
> 1.0000000,-.0008400

<this line intentionally left blank to function as carriage return to
terminate pline command>
LIMITS ON

0 new messages