newbie question

newbie question

qkakkel
Contributor Contributor
1,169 Views
24 Replies
Message 1 of 25

newbie question

qkakkel
Contributor
Contributor

I am still a newbie in lisp code so here is my question.

I have a DCL file and I need the lisp code to get it to work, (I don't know how to write the lisp code).

In  the DCL file there is a width , height , and length .

I only attach a part of the DCL file.

I want the lisp code that draws the lines in a autocad drawing.

If somebody can write the code for me .

 

Forgive me if I mispell some words I not live in a Englisch speaking country.

 

0 Likes
1,170 Views
24 Replies
Replies (24)
Message 21 of 25

Sea-Haven
Mentor
Mentor

Multi storey buildings Aluminum window frames like 6000 x 3000mm size.

0 Likes
Message 22 of 25

Sea-Haven
Mentor
Mentor

Ok when you say did not work what did not work. What were the error messages. Which program did you try the Multi getvals.lsp or the LeWidHt dcl.

0 Likes
Message 23 of 25

qkakkel
Contributor
Contributor
Unknown command "MULTIGETVALS". Press F1 for help.

Unknown command "GETVALSM". Press F1 for help.

If I am doing something wrong sorry (newbie)
And yes he is in my Support File search Path.
And when I try to load it 3 times I have a Fatal Error in autocad
0 Likes
Message 24 of 25

Sea-Haven
Mentor
Mentor

Ok drag and drop the multi getvals.lsp onto CAD, then try the code again. It should work.

 

It sounds like where you saved the getvals it is not in a support path. So change this

 

 

(if (not AH:getvalsm)(load "Multi Getvals.lsp"))
change the load to point to correct location of file, an example. Note the \\ need to be used.
(if (not AH:getvalsm)(load "C:\\Acad\\mylispprogs\\Multi Getvals.lsp"))

 

 

You can add the multi getvals to your, Appload, Start up Suite.

0 Likes
Message 25 of 25

john.uhden
Mentor
Mentor

Yo, @Sea-Haven ,

My recent questions have been all about my OpenChannelFlow project.

Your multigetvals thingy could have worked quite well, but I got fixated on providing a block insertion with attributes of a typical channel section with the calculation table below it so that the block and table could be printed to letter size for inclusion into a drainage report.  I am very close to completion.  I don't think anyone has used this technique before.  Finding EATTEDIT was critical to its success.

 

BTW, please post your your e-mail to me about cell formatting so I can accept it. (%lu2%pr2).

John F. Uhden

0 Likes