Looking for a written code of "enter" or "space"!?

Looking for a written code of "enter" or "space"!?

Anonymous
Not applicable
1,180 Views
5 Replies
Message 1 of 6

Looking for a written code of "enter" or "space"!?

Anonymous
Not applicable

Hello friends,

 

 

I’m trying to combine excel macro and AutoCAD. But there is a little thing than I can not pass. As you know when using line command with Mouse or “command line”, we have to use enter or space to end the command. Here is the thing that I want to ask: Is there any written code for “enter” or “space”? I’ve search nearly every AutoCAD forums but couldn’t find any usefull answer.

 

I'll be wating your answers. Thanks a lot.

0 Likes
Accepted solutions (1)
1,181 Views
5 Replies
Replies (5)
Message 2 of 6

leothebuilder
Advisor
Advisor

In lisp the "" means enter.............

0 Likes
Message 3 of 6

Anonymous
Not applicable

So, please try this one;

(command "_line" "0,0" "@100,0" " ")

 

I didn't make it right, still asking for new points.

0 Likes
Message 4 of 6

gotphish001
Advisor
Advisor

In programming usually ; works as a return sort of...



Nick DiPietro
Cad Manager/Monkey

0 Likes
Message 5 of 6

Anonymous
Not applicable

This time it did not I quess, tried and failed. Still asking for next points.

0 Likes
Message 6 of 6

Ranjit_Singh
Advisor
Advisor
Accepted solution

@Anonymous wrote:

So, please try this one;

(command "_line" "0,0" "@100,0" " ")

 

I didn't make it right, still asking for new points.


The " " should be "" (without a space)

(command "._line" "0,0" "@100,0" "")