Jump to content

Recommended Posts

Posted

Hello!

 

I'm new to scripting, I dabbled a bit in AutoLisp years ago, but since my new AutoCAD LT doesn't support lisps I haven't retained that knowledge. Anyway...

 

I am trying to write a script that will use the MOVE command and displace an object by a set distance. (I have to do this thousands of times over.) However I do not know how to select the object from with in the script. Anyone know how to do that?

Posted

Nope. They are usually rectangles or polylines.

 

I'm also now looking into macros... I know zip-diddly about macros, but they seam like they might work. The macro gets to the user input easy enough, but then I don't know how to get it back to running my selections.

 

So far I have: ^C^Cmove \d0,-20

 

but it stops after the \ and won't go back to my selection of "d".

  • 2 weeks later...
Posted

:D That worked!! Staving off carpal tunnel for yet another year. :)

 

Thank you BIGAL!

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