Jump to content

Hello, Can someone help me with an AutoLisp to highlight all the dimensions in a drawing which are less than 5 Feet with a circle around it?


Recommended Posts

Posted

I am looking for an auto lisp that would help me qc my drawing by highlighting all the dimensions in the drawing that are 

1. less that 5 feet

2. are unsnapped

 

Please and Thank you!

Posted

Dimensions, I assume you mean a dimension that you might draw using the Dimension command rather than, say a line that is less than 5' but without a dimension marker next to it?

 

How good are your LISP: abilities? If I give you some clues will that be enough or do you want more details?

 

So for part 1, dimensions less than 5 feet:

Refer to Lee Macs website: http://lee-mac.com/ssget.html and good tutorial to create a selection set, say ss, using X to select everything and with a filter (0 . "DIMENSION")

Make a while loop for the length of the selection set (sslength), and get the entity name of each as you loop (ssname ss counter), then 'entget' that and use 'assoc' looking for the list labelled 42, which is the actual measured dimension

If this is less than your distance, draw a circle

 

Not sure if that gives you a starter, but if not it will remind me what to do another evening

 

  • Like 1
Posted
7 hours ago, Maddy12 said:

I am looking for an auto lisp that would help me qc my drawing by highlighting all the dimensions in the drawing that are 

1. less that 5 feet

2. are unsnapped

 

Please and Thank you!

Isn't this already solved HERE ?

  • Like 2

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