so here some similar code to see if layers exist but i'm not sure if that is right either and where to put LTYPE in the routine, where do i put that phrase? thanks!
Code:
(if (tblsearch "LAYER" "defpoints");;test if layer exists
(command "-layer" "thaw" "defpoints" "on" "defpoints" "") ;do this if exists
(command "-layer" "n" "defpoints" "c" "63" "defpoints" "");do this if not
)
code that needs work:
Code:
;loads the aeccland tree lines to your drawing
(command "-linetype" "load" "TREELINE_R" "AeccLand.lin" "" "")
(command "-linetype" "load" "TREELINE_L" "AeccLand.lin" "" "")
(command "-linetype" "load" "STONEWALL" "AeccLand.lin" "" "")