Display full version of the post: Launch the layer manager form Autolisp .lsp

Vladimir Michl
19.11.2022, 13:04
Tha dashed version of the command starts its command line version. Use:(initdia 1)(command "_LAYER") to start the dialog. But just start, no other control is possible this way.

Kent Cooper
21.11.2022, 14:01
[QUOTE=Vladimir Michl](initdia 1)(command "_LAYER")[/QUOTE][Just a little technicality:  The 1 in there is harmless, but does nothing for you.  Any value other than zero is the same as not having anything there at all.  (initdia) by itself accomplishes the same thing.]

Kent Cooper
21.11.2022, 20:36
[QUOTE=remcokoedoot]What about (COMMAND "_.LAYERPALETTE")Not needed to change variables.[/QUOTE]
[Just another little technicality:  The (initdia) approach does not change any variables, if that's the implication.  It's not a System Variable, only a "trigger" that affects how the immediately-following command in a (command) function operates, but has no effect on anything after that.]