Jump to content

Chamfer/ Fillet no workie in 2010 via LISP... any ideas?


Recommended Posts

Posted

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

Posted

Coincidental thread.. try these:

 

(DEFUN C:F ()(COMMAND "_.FILLET")(PRINC))
(DEFUN C:CF ()(COMMAND "_.CHAMFER")(PRINC))

Posted

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?

Posted

"_" ensures language compatibility.

 

"." uses the original command definition (in case the user has redefined the command).

 

Lee

Posted

learn something new everyday - never had that problem in the past....

thanks again!

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