Jump to content

lisp to draw circles on ends of selected line


Recommended Posts

Posted

I need a lisp to draw circles (1.5mm Dia ) on the ends of one selected line after that trim inside the circles then delete the line.

Posted
Quote

[...] after that trim inside the circles then delete the line.

I think you meant "then delete the circles"

AutoCAD already has a built-in command for that. Search the help file for LENGTHEN. Use the Delta option and enter -0.75 (negative number!) to get the line shortened.

Also to make a line shorter, the Lisp I posted as answer to your other request (to extend a line) can be rewritten to suit your need.

To rewrite it - that will be your pleasure! :)

Posted
16 hours ago, fuccaro said:

@Mohamed_Essam_2000

I think you should learn to code. AutoLisp is not hard to learn...

When I first started learning, I could barely get any functions running... with which I didn't know any way to debug. Like, I didn't understand what the heck the DXF codes are (why 8? why 40?), or what the heck assoc and cdr are. It wasn't easy for me, at least.

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