LibertyOne Posted May 3, 2011 Posted May 3, 2011 this has been giving me many sleepless nights... how do I go about calling a command which is loaded through an arx file with the AutoLisp function command? For example: (command "_amthole2d") which is a command in Mechanical to create a 2D hole. And if there were any variables to this command, like diameter or position, I would like to pass these on to the command. Quote
LibertyOne Posted May 3, 2011 Author Posted May 3, 2011 for a bit of more information, what I am trying to accomplish here is to start the command without typing the command in the command line. In another thread http://www.cadtutor.net/forum/showthread.php?58831-Torient-Command-and-Lisp Lee Mac gave a solution to call an express tool command by creating his own command line function. I did try to implement this but somehow it didn't work. Could there be a work around to this? Quote
alanjt Posted May 3, 2011 Posted May 3, 2011 What you are doing should work iff it is actually an arx/dll command and not a LISP. You could make this really easy and just edit your acad.pgp 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.