Print Page | Close Window

Change of Layer Attributes

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=6813
Printed Date: 17.Apr.2026 at 08:58


Topic: Change of Layer Attributes
Posted By: rogzimmi
Subject: Change of Layer Attributes
Date Posted: 28.Oct.2011 at 03:34
Hello All
I have a Library with blocks which I made and since we are doing work for a big client, we have to comply with his CAD standards such as Layer names and colours.
My question is :
is there a way to make these changes in one go or do I have to open each block and do the changes the old fashion way?

Rog



Replies:
Posted By: John Connor
Date Posted: 28.Oct.2011 at 12:00
I don't think you can make wholesale changes.  Maybe the best you could do is write a script and let it do the drudge work.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: rogzimmi
Date Posted: 31.Oct.2011 at 01:12
A script.
Although I use AutoCad since version 2.16 I never realy got into the deep end of it I can do some lisp program but not much more mate.
I discovered just recently how to record a macro, would that do the trick?
Will try

thanks

Rog


Posted By: John Connor
Date Posted: 31.Oct.2011 at 11:23
A script might be a set of instructions that open a drawing, make changes to a layer name and color, purge, audit (check for errors), do a zoom > extents then a save.  It would cycle through a folder or directory of drawings doing this to each and every drawing.

Check out AutoDesk's free ScriptPro at their website.


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: rogzimmi
Date Posted: 01.Nov.2011 at 07:20
Will do that and post the result.

Thanks very much.




Print Page | Close Window