SMP Posted August 10, 2012 Posted August 10, 2012 Quick question. I need to make several different plots of the same dwg and in one of them i need some hatching to not plot. I have the said hatching on a seperate layer. Is there anyways to tell autocad to not plot those particular layers for that particualr plot. Is this managed by .ctb? Or something else. It must be able to be done ? Help appreciated. Quote
MSasu Posted August 10, 2012 Posted August 10, 2012 I suppose you are aware that can set layers to No Plot state. If the above scenario occur frequently, may try to write a script to set those layers to No Plot, proced to plot and set them back. Quote
nod684 Posted August 10, 2012 Posted August 10, 2012 I suppose you are aware that can set layers to No Plot state. If the above scenario occur frequently, may try to write a script to set those layers to No Plot, proceed to plot and set them back. yes i agree...this is the best way it can be done Quote
SLW210 Posted August 10, 2012 Posted August 10, 2012 You can Freeze the layer per viewport. Just create a new viewport and or layout tab and freeze the hatch layer in the viewport. Quote
SMP Posted August 10, 2012 Author Posted August 10, 2012 I suppose you are aware that can set layers to No Plot state. If the above scenario occur frequently, may try to write a script to set those layers to No Plot, proced to plot and set them back. Yes, i am aware of this. I am currently freezing the layers between plots. Script may be a good idea if i was up on my script writing. Quote
MSasu Posted August 10, 2012 Posted August 10, 2012 Just call the commands in prompter mode (-LAYER and -PLOT) and note the answer. After create a text file with those and save it with SCR extension. Next call SCRIPT command to run it. Just keep in mind that the space or new line act as . _LAYER _PLOT _NO LayerName1st _NO LayerName2nd Please note that the above line should end with a space. Quote
SLW210 Posted August 10, 2012 Posted August 10, 2012 You may also want to look into layer states. Quote
BIGAL Posted August 10, 2012 Posted August 10, 2012 Like Msasu if you set up multiple layout tabs then its pretty easy to set up a script once in a view port that turns layers on and off, use the vplayer command, if your doing this all the time then you would be better off setting up a DWT with all the layers preset, our surveyor has around 12 layout tabs all different each a legal page description it takes seconds to remove any tab you do not want. Jumping to a tab is just setvar "ctab" layoutname Quote
MSasu Posted August 11, 2012 Posted August 11, 2012 To simplify the script, may combine this solution with what @SLW210 suggested - save states of layers before/after plot and restore them using -LAYER command. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.