
Discussion forum
|

Please abide by the rules of this forum.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Launch the layer manager form Autolisp .lsp |
Post Reply ![]() |
Author | |
remcokoedoot ![]() Groupie ![]() Joined: 16.Oct.2013 Location: Netherlands Using: AutoCAD Status: Online Points: 35 |
![]() ![]() ![]() ![]() ![]() Posted: 19.Nov.2022 at 12:16 |
AutoCAD.
Is it possible to launch the layer manager form Autolisp .lsp? (command ".-layer") Not the desired result. Any idea?
|
|
With kind regards,
Remco Koedoot |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 1914 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
Vladimir Michl (moderator)
Arkance Systems - arkance-systems.cz - Autodesk reseller |
|
![]() |
|
remcokoedoot ![]() Groupie ![]() Joined: 16.Oct.2013 Location: Netherlands Using: AutoCAD Status: Online Points: 35 |
![]() ![]() ![]() ![]() ![]() |
I couldn't find it again. That's it indeed, thanks Vladimir!
|
|
With kind regards,
Remco Koedoot |
|
![]() |
|
remcokoedoot ![]() Groupie ![]() Joined: 16.Oct.2013 Location: Netherlands Using: AutoCAD Status: Online Points: 35 |
![]() ![]() ![]() ![]() ![]() |
What about (COMMAND "_.LAYERPALETTE")
Not needed to change variables.
|
|
With kind regards,
Remco Koedoot |
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 580 |
![]() ![]() ![]() ![]() ![]() |
[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 ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 580 |
![]() ![]() ![]() ![]() ![]() |
[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.]
|
|
![]() |
|
remcokoedoot ![]() Groupie ![]() Joined: 16.Oct.2013 Location: Netherlands Using: AutoCAD Status: Online Points: 35 |
![]() ![]() ![]() ![]() ![]() |
Good to know it makes no difference. Thanks Kent for this information.
|
|
With kind regards,
Remco Koedoot |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,047 seconds.