jameslsmith Posted December 10, 2012 Posted December 10, 2012 Hello all, Apologies if you already know about these Macro's. I needed the fuctionality and thought others may need it to so decided to share them with you on here. Macros for;- Spline to Arc Polyline ^C^C_plineconvertmode;1;_splinedit;\_P;0; Multiple Lines to Polyline & Join ^C^C_pedit;m;\\\_y;j;;; Audit, Purge all & Quick-save ^C^C_audit;y;_purge;a;;n;_qsave; Purge all, save dwg to dxf keeping file name the same ^C^C_purge;a;;n;_filedia;0;_saveas;dxf;v;r12;;$m=$(eval,"c:/tmp/acadfiles/$(substr,$(getvar,dwgname)",1,$(-,$(strlen,$(getvar,dwgname)),4))_filedia;1; I am sure to keep coming up with more useful ones and will post if I do. I hope these come in handy for other as much as they have for me. Quote
jameslsmith Posted December 10, 2012 Author Posted December 10, 2012 Just wrote a macro to run a script file....I'm using full autocad and my coworkers are on lt so cant use autolisp routines. So i created a button for them that not only finds and runs the script file but automates the first selections of the routine. I was running a custom button for weeding polyline vertices out... ^C^C_pld;200;1;r;\;_x;\;; pld being the PLDIET.lsp file....note that I changed the lisp to a script before the next step Here's the macro I used to run the script ^C^C_filedia;0;_script;PLDIET;_pld;200;1;r;\;_x;\;;filedia;1; Here's how you can modify it for any script ^C^C_filedia;0;_script;[i]enterfilenamehere[/i];filedia;1; Again I hope you guys find this helpful..... Quote
ReMark Posted December 13, 2012 Posted December 13, 2012 I wonder how much use meet18 is going to get out of macros when he lists "not applicable" for what software he is using. Quote
ReMark Posted December 13, 2012 Posted December 13, 2012 meet met his maker? Alas poor meet I never knew him well. Quote
SLW210 Posted December 13, 2012 Posted December 13, 2012 You should start reporting really strange posts like that, it will give the Mods a heads up on potential spammers. Quote
ReMark Posted December 13, 2012 Posted December 13, 2012 I was waiting to see what was going to develop. Some new forum members are slow to fully introduce themselves. If I reported every strange post I came across I'd have to include 50% of mine! Quote
Tiger Posted December 13, 2012 Posted December 13, 2012 Hello all, Multiple Lines to Polyline & Join ^C^C_pedit;m;\\\_y;j;;; I'll just go ahead and steal that! Now if I can only find out which ; is the fuzz-distance.... Thanks Quote
SLW210 Posted December 13, 2012 Posted December 13, 2012 I'll just go ahead and steal that! Now if I can only find out which ; is the fuzz-distance.... Thanks Fuzz is right after the J (Join) Quote
SLW210 Posted December 13, 2012 Posted December 13, 2012 I was waiting to see what was going to develop. Some new forum members are slow to fully introduce themselves. If I reported every strange post I came across I'd have to include 50% of mine! About 50% of your posts are reported. Quote
Tiger Posted December 13, 2012 Posted December 13, 2012 Fuzz is right after the J (Join) Thanks Oh Great Green One! Quote
jameslsmith Posted December 17, 2012 Author Posted December 17, 2012 Now back at my proper office and on Draftsight......Trying to get my macro's working is......interesting lol.....No splinedit it seems.... 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.