Jump to content

Recommended Posts

Posted

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.

Posted

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.....

Posted

I wonder how much use meet18 is going to get out of macros when he lists "not applicable" for what software he is using.

Posted

meet met his maker?o:)

 

Alas poor meet I never knew him well.:cry:

Posted

You should start reporting really strange posts like that, it will give the Mods a heads up on potential spammers.

Posted

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!:shock:

Posted
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 :)

Posted
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)

Posted
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!:shock:

 

About 50% of your posts are reported. :shock:

Posted
Fuzz is right after the J (Join)

 

:facepalm:

 

Thanks Oh Great Green One!

Posted

Now back at my proper office and on Draftsight......Trying to get my macro's working is......interesting lol.....No splinedit it seems....

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...