Hey folks,
I'm hoping someone here can help me figure out what's going on.
I love the layer creator routine, but I wanted to modify the layer creator routine made by Tim Spangler, to support multiple sub directories for layer files.
Originally, i wanted the subfolder as an argument, but wasn't sure how to do that without messing up the code, so i decided to just copy the routine and rename it. then rename the support folder the layer_creator.lsp was looking for.
so, LC01.lsp would reference subfolder '01', LC02.lsp would reference subfolder '02'.
this works if i manually load the lisp routine each time. However, if i've already loaded the lisp routines, it seems that calling up LC01 after LC02 was loaded, will give me the "02" subfolder.
it's like it's keeping the support path in memory or reading it from somewhere (registry?).
I've attached the LC02.lsp (just Layer_creator.lsp with path modification). LC01.lsp is identical except for the command name difference and support path name.