Jump to content

Recommended Posts

Posted (edited)

Hallo,
bitte um Hilfe,
habe dieses Lisp irgendwo im Netz gefunden.
Der Autor ist mir leider nicht bekannt.
Es ändert auch die Länge und Breite eines Rechtecks.
Dieses Lisp funktioniert nur beim ersten Mal.
Warum?
Bitte um Hilfe
danke

Error: Bad argument type: consp nil

rs.lsp

Edited by martinle
Posted

Google says:

"have found this Lisp somewhere on the net.
Unfortunately, I do not know the author.
It also changes the length and width of a rectangle.
This Lisp only works the first time.
why?
Request for help"

  • Like 1
Posted

Hello mhupp

thank you for your help.
I had already found that. However, this is very difficult to operate.
With the Lisp that I have attached, the rectangle is simply selected and the length and width of the base point are queried.
Then the rectangle changes.
best regards
Martin

Posted

Using  a dynamic block solution makes this easy also a rectang block 1x1 just set scale X & Y.

Posted

Hello BIGAL
Thank you for your help.
The disadvantage of a Dinamic block is that you cannot stretch a block with other commands using the window selection.
Why does this Lisp only work 1x?
Can you help me with that?
Thanks!
Greetings Martin

Posted

Martin, Lisp works every time...

Are you sure you pick vertex of rectangle of initial point specification?

Anyway I've made it more readable, using my style of writing with 2 spaces identation... I'll reattach Lisp, only one line I commented out - it was for (command "_ucs" "VO") at the end of routine...

Regards...

rs.lsp

Posted

Hello Her Marco_ribar
You are a wizard !!!
What have you changed to make it work now?
It works again now!
Thank you so much for your help

Thanks!
Greetings Martin

Posted

I've changed prompts to English, just for personal usage... Someone would wanted this version too...

Bye...

rs.lsp

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...