Delete the outside diameters of the thread holes!

Delete the outside diameters of the thread holes!

Anonymous
Not applicable
838 Views
7 Replies
Message 1 of 8

Delete the outside diameters of the thread holes!

Anonymous
Not applicable

Untitled.png

-------------------------

Dear Experts,

 

I need a lisp for deleting  the outside diameter of the thread holes! the outside diameter can be a circle or an arc as Figure above! M10 is only an example!

 

Thank you very much for your time!

0 Likes
839 Views
7 Replies
Replies (7)
Message 2 of 8

ВeekeeCZ
Consultant
Consultant
Dear ~expert,
would you please learn at least this one thing that you need to always post a dwg?
Thanks!
0 Likes
Message 3 of 8

hak_vz
Advisor
Advisor

Do you really need a lisp to perform this action? Autocad is primarily a drafting application, and this task can be easily performed  bi using quickselect. Use layers to distinguish elements of your drawing, turn them on or off as needed.

 

In case when you have multiple holes of same diameter you can dimension them vith leader (mleader) and write for

example 4 × M10. It will leave more space for placing other dimensioning object, and as a result drawing will be easier to read.

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 4 of 8

Kent1Cooper
Consultant
Consultant

What would you expect the User's steps to be, and the routine to do with the results?  Should the User select a whole area, and have the routine find all Circles and Arcs within it, then look for those with common center points, and where it finds some, keep the one with the smallest radius, and delete any of larger radius?  Or some other procedure?

Kent Cooper, AIA
0 Likes
Message 5 of 8

Sea-Haven
Mentor
Mentor

Agree with you push the wrong object onto a OFF layer. 

 

Last time I looked out side dia is the size of a threaded hole not inside see 1st post. If inside is correct then holes have been drafted incorrectly.

0 Likes
Message 6 of 8

Anonymous
Not applicable

M10 is blue color.It is difficult to see.It is outside diameter.Inside diameter is 8.5!

0 Likes
Message 7 of 8

Anonymous
Not applicable

the User select a whole area, and have the routine find all Circles and Arcs within it, then look for those with common center points, and where it finds some, keep the one with the smallest radius, and delete any of larger radius.

 

This is the one I need! I am trying to write a lisp but get stucked in finding the common center points.....

0 Likes
Message 8 of 8

doaiena
Collaborator
Collaborator

Post the code you have already written and we will guide you in the right direction to get it working.

0 Likes