Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

 

Thanks Lee.

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