Welcome to the CADTutor Forum liormic.
That sounds fun to code.![]()
Ttry this one first: -- > LM Batch Attribute Editor
Registered forum members do not see this ad.
Hi,
I'm looking for a lisp to help me rename tags in a drawing according to another drawing.
The values in the attributes should remain the same and it involves many different blocks so it can't be done manually.
Thanks.
Welcome to the CADTutor Forum liormic.
That sounds fun to code.![]()
Ttry this one first: -- > LM Batch Attribute Editor
Thanks but it doesn't work.
After selecting the blocks I get "Automation Error. No database" and it returns to the command prompt.
I also didn't understand where exactly do I write the new tag name.
My apologies liormic, I just blindly directed you to that particular lisp program. It does work on certain conditions. Perhaps look at the other codes for attributes on Lee Mac's website.
LM may have an updated attribute function that deals with TAGS along
If all else fails then we'll write one for you. or better yet,
It's a great site LM has with many interesting things but I didn't find anything that deals with renaming the tag.
I see, okay tell us what do you have in mind.
Will it always be that drawing as source? or it differs for one drawing to another?rename tags in a drawing according to another drawing.
Is that the source block or the target?it involves many different blocks so it can't be done manually.
The thing is that there's a drawing with a set of blocks and every once in a while I get another drawing with another set of blocks which I have to change the blocks in it so the tags would be the same every time.
The values shouldn't be changed but the blocks's names, tags and layers should.
I can manage changing manually the blocks's name and layers but not the tags.
I think the best would be if it's possible to make some kind of a table with the block's name, layer and attribute's tags from 1 drawing to corraspond to another block's name, layer and attribute's tags from another drawing it would be the best.
Thanks.
The caped crusader can take care of that really. [commnad: Battman]
But if you want a lips code. Give me a real time example and we'll wirte a code for that. I still don't get the "Master Drawing" factor though.
You may have something there with that ideamake some kind of a table with the block's name, layer and attribute's tags from 1 drawing to corraspond to another block's name. I couldve have sworn i wrote a code similar to that some time ago.
The Battman does the job but every time I need to go and change each block according to it's tags.
The "master drawing" isn't important. It's just a drawing which has the new blocks. A list of old blocks and tags Vs. new ones should do.
Thanks.
Bookmarks