erratic Posted December 3, 2009 Posted December 3, 2009 simply put - the following code ALWAYS worked in previous versions of ACAD - why not now????? (DEFUN C:F ()(COMMAND "FILLET")(PRINC)) (DEFUN C:CF ()(COMMAND "CHAMFER")(PRINC)) I have some other more advanced versions of these commands, but this is as simple as it gets and all I get is "unknown command" any thoughts???? Quote
Lee Mac Posted December 3, 2009 Posted December 3, 2009 Coincidental thread.. try these: (DEFUN C:F ()(COMMAND "_.FILLET")(PRINC)) (DEFUN C:CF ()(COMMAND "_.CHAMFER")(PRINC)) Quote
erratic Posted December 3, 2009 Author Posted December 3, 2009 Many thanks! Not sure how/ what that made that work, but it works for me now. Seriously though.... of all of my shortcuts those are the only two commands that needed that "_." in the coding... what is that all about anyway? Quote
Lee Mac Posted December 3, 2009 Posted December 3, 2009 "_" ensures language compatibility. "." uses the original command definition (in case the user has redefined the command). Lee Quote
erratic Posted December 3, 2009 Author Posted December 3, 2009 learn something new everyday - never had that problem in the past.... thanks again! 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.