CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

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.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedLayer Macro

 Post Reply Post Reply
Author
DJMike View Drop Down
Newbie
Newbie


Joined: 07.Sep.2007
Location: United States
Using: Inventor 2015
Status: Offline
Points: 7
Direct Link To This Post Topic: Layer Macro
    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
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2124
Direct Link To This Post Posted: 09.Sep.2007 at 15:00
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
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,226 seconds.