Jump to content

Recommended Posts

Posted

Hello,
maybe someone can help me with my project.
I have created the following Lisp that creates a polyline object offset within an Xline boundary.
But I can only create one object. Then I have to run the command again.
Can someone help me to set up a loop so that several objects can be created with one command?
Thank you very much
Best wishes, Martin

versum.lsp

Posted

u might add this to beginning:

 

  (setq osm_old(getvar 'OSMODE))
  (setvar 'OSMODE 0)

 

and this on the end of lisp:

 

  (setvar 'OSMODE osm_old)
  (princ)

Posted

Hello Tomislav,
Thank you very much for your help!
Now it works exactly as I imagined.
Thank you!
Martin 👍

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