I have a particular layer on all my drawings that I use as a help border for visualization purposes only when working in model space. I don't want this layer to appear when drawings are plotted so I have through layer properties checked the non plot function for the layer "Helpborder" as shown on the attached image. Is there a project wide utility to do this setting for all drawings in my project ?
Thank´s in advance.
Best regards, Gary
Solved! Go to Solution.
Unzip the attached script file, and run the project wide utilities like this:
thank you for your valued answer on my question. This is just what I was looking for..!
Are you familiar of some litterature/books that cover this part of Autocad, that is running various project wide utilities?
Onsce again, thanks.
I'm not familiar with any book that cover AutoCAD scripting, wich is basically the simplest form of automation in AutoCAD. If you've worked with AutoCAD for some time (Read: If you're old, like me), we used to type the commands back in the days. That makes it kinda easier to know how to script stuff like this.
A quick pointer would be, look at the command line when exectuing commands. Check the help file to see what command you have to type on the command, or hover the cursor over the button you want to execute, to see the command there.
You can't script a dialog. So most commands (Well, at least standard AutoCAD commands) have a "command line version". I't basically the same command, only with a dash in front of it (hence the -LAYER command in the script rom the previous post).
You can always TYPE a coordinate in AutoCAD rather than clicking the point (1.5,4.5 --- X=1.5 and Y=4.5)
So, trial and error is the best way to learn?
Finally... not everything can be scripted with "normal" AutoCAD (Electrical) commands. Luckily, you can type Autolisp commands directly on the command line, and you can -NETLOAD .NET-add'ins , and also do a -VBARUN to run VBA-macros you've created.
That's the short answer
thank´s again for good and straightforward answers.
I have been working with Autocad Electrical since version 2010 so I don´t have much history in this field. Working with Autocad is a learning curve that looks like an exponential function...slow progress in the beginning but the curve get´s steeper every day. Again, thanks for taking time to help me out
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.
The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.
Upgrading to a 2015 product? Make sure to check these out 1st!