Any suggestions on a quick way to apply a Layer State to multiple DWGS?
Solved! Go to Solution.
Solved by tom_brabant. Go to Solution.
Could you export the desired state from a single drawing, then batch import it to a set of drawings using ScriptPro (free from autodesk?)
I think that's where I may be going with this. I've never used ScriptPro (and am wondering how well it will interface w/ the Layer Manager GUI). - I guess I'll find out.
Thanks for the input.
You needn't worry about the GUI if you stick with the command line version of the layer command.
You can invoke -layer (note the hyphen) to get an idea of how the prompt sequences work.
Something like (command "layer" "state" "import" "c:/mystuff/prototype.las" "" "") will probably work. I've written this as lisp instead of script because it's far less sensitive to whitespace than straight text command invocations.
Where you could have issues is if you try to use Scriptpro with a very recent release of AutoCad. I've had no issues with r2010, but I have had issues with r2013, though I saw a thread somewhere that addresses it.
I'd never noticed "state" in the -Layer command line (not that I use it often). Thanks for the heads up! - I'll be using ACAD 2009 or 2011. - Thanks again for the feedback!