Over 1.099.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply ![]() |
Author | |
DJMike ![]() Newbie ![]() Joined: 07.Sep.2007 Location: United States Using: Inventor 2015 Status: Offline Points: 7 |
![]() Posted: 07.Sep.2007 at 20:41 |
In AutoCad 2004LT I have the need for a couple of custom buttons.
I have made an "ALL Layer OFF" & "ALL LAYER ON" toolbar using the following macro commands:
All Layers On
^C^C-LAYER;ON;*;; All Layers Off ^C^C_ai_molc;\-layer;off;*;;; What I want is for the All OFF button is to leave the default "Layer 0"
on. The all off button now , when clicked, you must click a layer object
and then all but that layer is turned off. I would like to have a button that turns on just "layer 0" or allows the current function I have plus leaves the "layer 0 " on.
Regards,
DJMike
|
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2124 |
![]() |
You can just add "_-LAYER;_ON;0;;" at the end of the All Layers Off macro.
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
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,226 seconds.