Quantcast
Viewing all articles
Browse latest Browse all 14319

Automatic plot macro

I am needing a macro for automatically plotting multiple models that are in the same dwg file. I am including the dwg file, because it will be hard to explain exactly what the models are. Basically it is a dwg file of some nested sheets to run on a cnc router. I wrote a macro that will allow me to manually window each "nest" and send that to the printer, then repeat until I'm finished. I could set what dimensions I needed for each window, but each time I nest out a job, the number of nests varies. What I am wondering, is there a way to have the autocad "look" at the overall number of nests  in the model and window the nest, center that in the paper that prints out, then move onto the next one until it has plotted all of the nests? I am new to writing macros, and have absolutely no understanding of lisp or vba. Also, here is the macro I wrote for manually windowing the plot. If there is a way to set the window dimensions, then offset those dimensions in the Y axis a certain number of times that would still be easier than what I've been doing. Any help is appreciated. Even if the advice is telling me that I'm S.O.L. Thanks in advance.

 

*^C^C-plot;yes;;;;;;;w;\\fit;;yes;;;;;;y;

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 14319

Trending Articles