nod684 Posted August 29, 2014 Posted August 29, 2014 Good morning peeps... asking for your kind assistance. I have attached here 2 files. One is the Exploded and the other is the Attribute Block to be used. For some "silly" reason, our drafter inserted the exploded attributes, edit the Attribute tag with the correct value which should have been inputed in the value. in the screenshot below : the word SECTION is one word so as with the G,- and another G so all in all SECTION G-G composed of 4 words inputed in the TAG instead of the value. We have a bunch of drawings here and is due end of next week. just wondering if there is a better work around on this matter rather than opening it one by one and inputing the text. Please see attached files is there a way for me to insert the Attribute Block, and the routine will replace the correct values from the "exploded" block" to the inserted AttBlock? Exploded.dwg X-SLB-A1_Title.dwg Quote
pBe Posted August 29, 2014 Posted August 29, 2014 (edited) Do you want this Automagically? No user intervention at all. command: reatt Done Something like that? or would you a allow user to select at least one reference ATTDEF ? How many of these drawings do you need to "repair"? EDIT: Scratch that, i think it can be done without user intervention EDIT 2: How did ended up like this in the first place? anyhoo, looking at your sample drawing, The "DRAWING-TITLE-LINE-3" ATTDEF is broken down into 3. will be it always like that? or sometimes there's only 1 or DRAWING-TITLE-LINE-4 is broken down into 2? Edited August 29, 2014 by pBe Quote
nod684 Posted August 29, 2014 Author Posted August 29, 2014 Do you want this Automagically? No user intervention at all. command: reatt Done Something like that? or would you a allow user to select at least one reference ATTDEF ? How many of these drawings do you need to "repair"? EDIT: Scratch that, i think it can be done without user intervention if possible yes... i have less than 300 Quote
pBe Posted August 29, 2014 Posted August 29, 2014 What of the other item? EDIT 2: How did ended up like this in the first place? anyhoo, looking at your sample drawing, The "DRAWING-TITLE-LINE-3" ATTDEF is broken down into 3. will be it always like that? or sometimes there's only 1 or DRAWING-TITLE-LINE-4 is broken down into 2? Quote
nod684 Posted August 29, 2014 Author Posted August 29, 2014 What of the other item? it should not be like that.. it should be 5 Drawing Title Lines (see X-SLB-A1_Title.dwg) i'm guessing he copied that from somewhere maybe binded / exploded drawing. Quote
pBe Posted August 29, 2014 Posted August 29, 2014 (edited) I think i have an idea right on top of my head. hang in there.... Its fun writing this code.. too bad its too specific to your troublesome drawings to be generic Command: reatt reatt.LSP Edited August 29, 2014 by pBe Quote
Wesley_Amsterdam Posted August 29, 2014 Posted August 29, 2014 Don't you have the backup files from right before the draughtman started exploding the attributes? Cheers Welsey Quote
nod684 Posted August 29, 2014 Author Posted August 29, 2014 Don't you have the backup files from right before the draughtman started exploding the attributes? Cheers Welsey we don't have...im guessing it was inserted as exploded and he type the contents in the TAG rather than in the values... I think i have an idea right on top of my head. hang in there.... thanks pBe. take your time... Quote
nod684 Posted September 1, 2014 Author Posted September 1, 2014 thanks pBe! working as expected! you saved me lots of time because of this routine. Quote
pBe Posted September 1, 2014 Posted September 1, 2014 thanks pBe! working as expected!you saved me lots of time because of this routine. Anytime nod684. Glad i could help 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.