PDA

View Full Version : batch update of attributes



wrogers
2005-07-21, 02:47 PM
I would like to be able to update an attribute within a block that is present in multiple files through a batch process where I do not have to open each file. For example:

I have a border that is identical for several drawing files. One of the attributes is the release date of the drawing. Is it possible to launch a process that asks for the attribute name and the replacement value and then updates each file within a given directory?

What would be even better is being able to accomplish this with several attributes at once.

If this is not possible with LT I have access to 2004 as well.

Mike.Perry
2005-07-22, 12:47 AM
Hi

If you want to use AutoCAD LT for this task, take a look at writing a Script file using the command _.-AttEdit then use something like ScriptPro (free download from the Autodesk web site) to batch the drawing files.

OR

Using AutoCAD 2004 take a look at the following Submission # EX001250 by Peter Jamtgaard on the AUGI Exchange Page -

AUGI Exchange Search Page (http://www.augi.com/exchange/search.asp?page=415)

Have a good one, Mike

pendean
2005-07-24, 02:15 AM
You can't use SCRIPTPRO from Autodesk, it requires full AutoCAD only. You will have to buy a 3rd party script processor.

Dean

jguest82179
2005-08-24, 01:32 AM
....then use something like ScriptPro (free download from the Autodesk web site)...

It is? Where? I couldn't find it.

If you have either directions or a link it would be greatly appreciated.

ScriptPro was one of the best little apps that ever got tagged onto AutoCAD. I've used it in the past (at a different job) to run many different scripts on many thousands of drawings. I even used it to completely rebuild our drawing database once when it got corrupted, it was as simple as triggering our VBA data extraction via the command line from a script - come back the next morning (and 10,000 drawings later) and you know you have a new drawing database that is completely correct to the drawing set. No user input errors, brilliant! :grin:

Once you learn how to use it effectively it is a very powerful tool indeed.

Mike.Perry
2005-08-24, 01:59 AM
It is? Where? I couldn't find it.

If you have either directions or a link it would be greatly appreciated.Hi

Try here "Autodesk Customization Conversion Tools (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=4091678&linkID=2475161)" for AutoCAD 2004 or greater.

Have a good one, Mike

jguest82179
2005-08-24, 02:06 AM
Thanks a bunch Mike,

You've just saved me many hours of frustration. :grin:

Mike.Perry
2005-08-24, 02:09 AM
Thanks a bunch Mike,

You've just saved me many hours of frustration. :grin:No worries...

RCA4697
2005-09-12, 06:35 PM
regarding this threat, this will work with 2005 LT? and ill be able to use script pro?

RCA4697
2005-09-12, 06:37 PM
never mind, it states clearly you can't use it with any Lt versions. is there any way around this? a third add on? of so which one?

Mike.Perry
2005-09-13, 07:26 AM
is there any way around this? a third add on? of so which one?Hi

Check out some of the links found in the following threads...

Plotting in LT (http://forums.augi.com/showthread.php?t=6746)

Batch Plotting (http://forums.augi.com/showthread.php?t=10997)

Have a good one, Mike