AutoLISP: Reset Selected Dimensions

Now that you have located “dodgy” dims in a drawing, you may need to reset them to their original values. There are many LISP routines online that do this globally, but you may need to reset a few of these dimensions. That’s where this routine comes in handy. Instead of doing this manually, this routine does the hard work for you.

BTW, To do this manually, you select the dimension and then in the properties palette, under the text override text-box you enter <>

Here’s how:

  • RDD <enter> to start Reset Dodgy Dims
  • Select the dimensions that you want reset.
  • <enter> to finish

;RDD Reset Dims to actual value

(defun C:RDD (); (c) 2001 Andy Leisk

(prompt "\nRDD to start...\n")

(princ "Selects dims to reset...\n")

(setq ss (ssget))

(command ".DIM1" "NEW" "<>" ss "")




About AutoCAD Tips

This blog serves as a knowledge base for myself (and anyone else) so that I can reference tips & tricks that I have learned and also refer others to it as well. I hope that this blog helps you learn at least one tip to make your drafting/design experience better.
This entry was posted in AutoLISP, AutoLISP: Dimensions, AutoLISP: Manage, Dimensions, Modifying, TIPS. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s