Jump to content

Change the length and width of the rectangle


martinle

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...