Artek Posted May 14, 2010 Posted May 14, 2010 Hi there! I've been looking for a way to sequentially renumber a block attribute on multiple layouts and do the same thing on my other drawings for the same project. I am thinking of running it on a batch program like scriptpro to save some time. I wonder if there's anybody out there who can give me an idea on how to do it. A code perhaps that remembers or save the last attribute value it has changed from the first drawing, increment it by 1 and use that new value for the next drawing and so on to complete the sequential numbering of all the drawings. Any suggestions? Quote
alanjt Posted May 14, 2010 Posted May 14, 2010 Just set the increment variable as global and use 1+ to increment. eg. (setq *Increment* 0) (setq *Increment* (1+ *Increment*)) 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.