jmerch Posted February 21, 2012 Posted February 21, 2012 Ok, I have a LISP I downloaded (credit to Aaron Werning off CADylst site) that converts text to 3D. The command is "3DTEXT". Then after that's executed there's some user options. I want to know how I can include that in another LISP? I know I can call the command by (c:3DTEXT) but what about any user input after that? Or if I'm trying to do that, would I just need to modify this LISP as a separate one and change what I want in there? TIA Quote
Lee Mac Posted February 21, 2012 Posted February 21, 2012 Since LISP does not permit multiple-threads, when you call (c:3DTEXT), the LISP expressions within the function definition for c:3DTEXT are evaluated in sequence, then evaluation continues from the point at which you called (c:3DTEXT). There is no way to 'interact' programmatically with the LISP expressions being evaluated in the c:3DTEXT as this function now takes focus over the function from which you called it. To achieve your task you would need to modify the definition for c:3DTEXT, or call it from a script (but this could be troublesome). Quote
jmerch Posted February 21, 2012 Author Posted February 21, 2012 Ok, so I could just modify the LISP and name it as a separate one, and do what I need to in that for the LISP I'm trying to create. Thanks Lee. 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.