AutoCAD 2010/2011/2012

Posts: 24
Registered: ‎10-14-2008
Message 1 of 2 (140 Views)


140 Views, 1 Replies
05-09-2012 07:28 AM

Does anyone know of a way ?


Example. I have 20 sheets showing the existions condtions of roadway plans. I have setup a layer state for existing conditions.  


CRAP !  I missed one layer that needs to be  turned off  (VP visiblity off) in all existing sheets.   It would be really nice if I could just save the layer state and it updated all of the other existing sheets that had that same layer state




2012 Civil



Troy Moore
Civil3D 2014
Windows 7 Pro, 64 bit
Intel Xeon E31225 @ 3.40Ghz
Product Support
Posts: 111
Registered: ‎09-27-2011
Message 2 of 2 (110 Views)

Re: LayerStates

05-14-2012 05:52 AM in reply to: troymoore7595

Hi Troy,


Currently you can export the layer states to a .las file, and then you can import it on all your files  (all with the lman dialog).


There is another option to automatically load all the layer states on every file, you can define all the layer states in a repository folder, and force AutoCAD to load all layer states by default everytime that you open or create a file:

You can edit the acad2012doc.lsp file and add next line at the end of the file, for each .las file that you want to load:


(command "_-layer" "_state" "import" "filename.las" "_yes" "" "")


That will update the existing  states.


Note: that script needs a bit more tuning in case of the state is not already defined...



If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!

Albert Rius
Frontline Technical Support
Autodesk, Inc.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.