Message 1 of 23
Lisp to change attribute of block
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a block that has a attribute "number." When putting in this block it gets really only having to go back and number each one of them 1 by 1. Is there any way to make a lisp that inserts this block and automatically changes the number by +1 every time?
(setq startnumber getint("Enter starting number")
for (a=startnumber,1>999,a+1)
(InsertBlock "Utility tag" Number=a)
I know that inst proper syntax but i hope it can give a bit of an idea of what im trying to accomplish. Thank you.