Registered forum members do not see this ad.
I want to create a VBA program that will number all selected blocks in a drawing. (from a starting number till.... n = n+1). All these blocks will have a empty "number" attribute that can be used for this numbering.
It should work somewhat like the automatic text Numbering in the express tools of autocad.
My idea is to extract data (x, y position, block name, att tag, promt, value) off all the blocks with respective attributes with -eattext. order this list w.r.t. increasing values of x (and y).
and start numbering with -attedit.
I have a few problems:
- I don't know how to make an template that works on the eattext command. can anyone give me advise on how to create such a template?
- I have to "select attribute" when i use -attedit. and how can i select an attribute whitout clicking?
Or is there a smarter way to do this?


Registered forum members do not see this ad.
When first running the command, in the end of the command you will be able to save settings in a template file.
Bookmarks