prakashreddy Posted April 11, 2012 Share Posted April 11, 2012 Hi, I am facing problem to call Textmask command in lisp. It is telling unknown command when i am loading. Can anyone help... Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted April 11, 2012 Share Posted April 11, 2012 TextMask is an Express Tools command and is a LISP function, not a registered command. You will hence need to call it as a LISP function: (c:textmask) Or, you can study the textmask.lsp file in th Express folder of the AutoCAD Program Files and call the various TextMask subfunctions separately. Quote Link to comment Share on other sites More sharing options...
prakashreddy Posted April 11, 2012 Author Share Posted April 11, 2012 Thanks Mr Lee I used to call like this, But it is telling "error: too many arguments" (c:textmask "l" 0.25) (c:textmask (entlast) 0.25) Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted April 11, 2012 Share Posted April 11, 2012 The 'c:textmask' function definition cannot accept arguments, you will need to study the textmask.lsp file in the Express folder of the AutoCAD Program Files directory to find the relevant subfunction to call. Quote Link to comment Share on other sites More sharing options...
prakashreddy Posted April 11, 2012 Author Share Posted April 11, 2012 Thanks Mr Lee I got the solution. I am proceeding like this... (acet-textmask-make-wipeout (entlast) 0) it is working fine. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted April 11, 2012 Share Posted April 11, 2012 You're welcome prakashreddy Quote Link to comment Share on other sites More sharing options...
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.