onzki Posted September 1, 2010 Posted September 1, 2010 Wow,that was a quick reply and it works great, thanks a lot! Seems very easy for you, how long have you been programming lsp's? Hope I could learn this too. Thanks again. Quote
mtrasi Posted June 24, 2014 Posted June 24, 2014 Ok, I can use lisp or other things, but WHY I CANT SET RADIUS WITH THIS MACRO: ^C^C_FILLET;_R;20 it should activate fillet, set radius to 20 and stop. Since after setting radius, fillet command asks to select first object, my macro should stop and AutoCAD should ask me to select the first object. NO WAY. Try it and you can see it's a BUG: the macro finish its work and AutoCAD exits from fillet command without asking me to select the first object. Try if you don't believe. I'm using AutoCAD 2012, 2013 and AutoCAD 2014 Quote
MSasu Posted June 25, 2014 Posted June 25, 2014 Mtrasi, it isn't a bug, is just how command worked in old versions: (command "_FILLET" "_R" 15.0) Vs. (initcommandversion 19) (command "_FILLET" "_R" 15.0 pause pause) To solve your macro issue, please check this workaround: ^C^C_FILLET;_R;20[color=magenta];_FILLET;[/color] Quote
mtrasi Posted June 25, 2014 Posted June 25, 2014 I didn't remember.. Thanks, it's true, in older versions it worked that way. I already solved it like this ^C^C_FILLETRAD;20;_FILLET but now I know why it didn't work in the other way! I didn't know about initcommandversion too, Thanks for this suggestion! Quote
MSasu Posted June 25, 2014 Posted June 25, 2014 The point is to preserve compatibility with older third-part tools (menu macros, AutoLISP routines) that were currently in use. Other approach is by QAFLAGS system variable: (setvar "QAFLAGS" 1) (command "_FILLET" "_R" 10 pause pause) (setvar "QAFLAGS" 0) Quote
Julesagain Posted October 6, 2015 Posted October 6, 2015 Thanks Alan, your lisp works but is there no way to keep the command alive so i can fillet 10 lines all at a radius of 1 for example. like lets say i have 40 driveways that all need a 20' radius connecting to the street, i just type FR, then enter 20 as a radius, and I can continue in the same command for all 80 lines instead of having to keep hitting the space bar or reentering the command? I had it on LDD 2005, so I know its possible... I just know know how to make it work. Man I really wish I could get your guys help on creating some good construction notes too!! I know this is an old thread, but in case someone else comes searching, you can use the world MULTIPLE in front of many commands to make them keep repeating, and it works with FILLET. In a macro, you'd need to add a space or a semi colon. Can anyone post the command to get the current FILLET radius setting (which I see above), then return it to that captured setting at the end of the LISP? Error trapping would be great too. Just those LISP statements, nothing extra, so I can sort out what I need to fix in my LISP. The ones listed here do not work. Thanks! Quote
StevJ Posted October 6, 2015 Posted October 6, 2015 What also works is to add an asterisk to the Autocad fillet macro, thusly: [color=red]*[/color]^C^C_fillet You still have to set the radius, but then you can fillet 'til the cows come home. Steve 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.