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 ClosedLAYERS ON & OFF

 Post Reply Post Reply
Author
GaryM View Drop Down
Newbie
Newbie


Joined: 20.Aug.2007
Location: South Africa
Status: Offline
Points: 16
Direct Link To This Post Topic: LAYERS ON & OFF
    Posted: 10.Sep.2007 at 07:55
Hi guys
 
Working in autocad 2008, would like to switch off certain layers and turn on certain layers with a command button in VBA. For example:
 
There is more than one layer that starts with "FFA_" is there a way i can use that text to switch off all the layers starting with "FFA_" and all Layers starting with "FCA_" in one command.
 
 
Thanks
Regards,
Gary Mansfield
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: 10.Sep.2007 at 08:12
You don't need any VBA for this. Just use a simple menu macro:
 
_-LAYER;_OFF;FFA_*,FCA_*;;
 
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
GaryM View Drop Down
Newbie
Newbie


Joined: 20.Aug.2007
Location: South Africa
Status: Offline
Points: 16
Direct Link To This Post Posted: 11.Sep.2007 at 08:33
Hi Vladimir
 
What i'm basically doing is converting a lisp routine into VBA. So its a about 6 compiled routines i'm trying to make convert into 1 vba routine.
 
Thanks
 
 
Regards,
Gary Mansfield
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,309 seconds.