Jump to content

Replace Attributes with the Correct Values


nod684

Recommended Posts

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

SS.jpg

X-SLB-A1_Title.dwg

Link to comment
Share on other sites

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 by pBe
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by pBe
Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...