Maddy12 Posted April 27, 2023 Posted April 27, 2023 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! Quote
Steven P Posted April 27, 2023 Posted April 27, 2023 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 1 Quote
ronjonp Posted April 27, 2023 Posted April 27, 2023 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 ? 2 Quote
Recommended Posts
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.