EGoldberg
1st Jun 2010, 03:24 pm
I am trying to finish up my program in VBA and I have one final problem.
When I update a block's attribute tag (not text) because we have two attributes with the same tag name and they need to be redefined, I can update it but as soon as it is exploded it goes back to the old name.
That is, I've updated the tag successfully, I can see that I have in properties and the Enhanced Attribute Editor, but when I use -battman, it still says the old tag and when I use explode, it goes from my new tag name to the old. Is there anyway to sync this up in VBA?
The code for editing my tag is as follows
attList = blk.GetAttributes
attList(3).TagString = "ASB2"
attList(3).Update
What am I missing? I'm not much of an AutoCAD user so I'm not sure. Thanks for your help in advance.
When I update a block's attribute tag (not text) because we have two attributes with the same tag name and they need to be redefined, I can update it but as soon as it is exploded it goes back to the old name.
That is, I've updated the tag successfully, I can see that I have in properties and the Enhanced Attribute Editor, but when I use -battman, it still says the old tag and when I use explode, it goes from my new tag name to the old. Is there anyway to sync this up in VBA?
The code for editing my tag is as follows
attList = blk.GetAttributes
attList(3).TagString = "ASB2"
attList(3).Update
What am I missing? I'm not much of an AutoCAD user so I'm not sure. Thanks for your help in advance.