neuri Posted September 4, 2012 Posted September 4, 2012 Hi, I need help writing a script that will Select All, Explode, Purge All, QSELECT 3 specific layers, Block. I tried copying from the command line but the selecting layers part doesn't show up. I also need a script that opens every file in a directory, prints the layout and closes the file. Any easy to follow beginner's guide? The ones out there just don't make sense to me, I failed so many times trying to follow them but now I have to do the above actions over and over for 4-5 projects with 30+ files each thanks to a few people, I'm going nuts, would really appreciate help from a script. on a side note, people really need to learn to backup their HDDs and not cause me grief... -_- Quote
Dadgad Posted September 4, 2012 Posted September 4, 2012 If you think you can bear to try one more time, this is a very good non-threatening explanation of how to do it. http://www.lukewarmcoffee.com/cad/AUGI%20-%20Passionate%20Scripting%20for%20Everyone.pdf Quote
BIGAL Posted September 5, 2012 Posted September 5, 2012 Writing a script one way to do layers -la s your1st layer off * on 2ndlayer,3rdlayer note 2 spaces * on this is because you need to do the current layer still on. The script for multi plot the plotmydwg is a lisp etc or whatever method you decide to use for plotting. Open dwg1 (load "plotmydwg") close n open dwg2 (Load "plotmydwg") close n Theres ways of using lisp to get the file list I just use CMD change to correct directory DIR *.dwg /b >dirlst.txt the text file can then be simply modified using Word as it recognises end of line ^p as a replaceable item ^p = (Load "plotmydwg") close n^p then save as a text file. Or excel etc. 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.