Not a bad idea tedg. I found the following 'simple' routine, but what if the layer existed and it needed to be overwritten?
Code:
(defun c:dwt ()
; Layers
(command "layer" "m" "purlin" "lt" "continuous" "" "c" "7" "" "")
(command "layer" "m" "wp" "lt" "center" "" "c" "8" "" "")
(command "layer" "m" "bolt" "lt" "continuous" "" "c" "6" "" "")
(command "layer" "m" "bracing" "lt" "continuous" "" "c" "3" "" "")
(command "layer" "m" "endwall" "lt" "continuous" "" "c" "1" "" "")
(command "layer" "m" "mezzanine" "lt" "continuous" "" "c" "2" "" "")
(command "layer" "m" "steel" "lt" "continuous" "" "c" "5" "" "")
(command "-linetype" "load" "hidden" "" "yes" "" "")
)
I also found this link which has tons of options...
http://forums.autodesk.com/t5/Visual...p/td-p/3560508