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 | |
GaryM ![]() Newbie ![]() Joined: 20.Aug.2007 Location: South Africa Status: Offline Points: 16 |
![]() 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 |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2124 |
![]() |
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 |
|
![]() |
|
GaryM ![]() Newbie ![]() Joined: 20.Aug.2007 Location: South Africa Status: Offline Points: 16 |
![]() |
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 |
|
![]() |
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,146 seconds.