Need a book? Engineering books recommendations...

Return to index: [Subject] [Thread] [Date] [Author]

Re: ACAD Attribute ?

[Subject Prev][Subject Next][Thread Prev][Thread Next]
If you give each block you may want to change like that an extended entity
attribute with some identifying string ( like "DateBlock"), you could then
walk the db look at each entity, checking its attributes, comparing the
strings with what you want. Once found change the entity itself as you want.

Is that helpful?


-----Original Message-----
To: seaint(--nospam--at) <seaint(--nospam--at)>
Date: Thursday, February 25, 1999 7:49 AM
Subject: ACAD Attribute ?

>Say you're fixing to send out a final set with 20 or 30 drawings and the
>architect calls and wants to change the date on the title block from
>to 2-26-99.  It's a pain to manually make this change.
>Previously, Mark Middlebrook and others have posted script and batch files
>to automate different tasks.  One that comes to mind is a file to change
>drawings in a particular subdirectory from r14 to r13.  What I would like
>be able to do is the following:
>1.  Have a script open a file.
>2.  select a particular block to edit the attributes (ddatte)
>3.  change value of a particular attribute
>4.  save changes
>5.  continue to next dwg file.
>The problems that I am running into is how to do you select the block with
>the attributes without manually picking it (the block will always be called
>Then how do change a particular attribute at the command line.
>Any help would be wonderful.
>John Jones, PE
>Pell City, AL