Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

SolidEdit in Lisp

SolidEdit in Lisp

SolidEdit in Lisp

I have tried to implement solidedit in a lisp.
I want the user to color faces.
The problem is that everytime I select te color and aply it, the dropdown box of solidedit apears and kicks me out of the lisp.
I want the lisp to continue after the faces have been selected and the color has been picked and aplied..

Does anybody know what the codeline should be?

I tried several options, but cant get it to work...

RE: SolidEdit in Lisp

I believe you need to modify it to allow undetermined user entry, such as:

(command "_solidedit" "_face" "_color")
(while (> (getvar "CMDACTIVE") 0)
  (command pause)

RE: SolidEdit in Lisp

** edit to last post **

For other readers...the poster had posted question at another site, and had included the line of code

(command "_solidedit" "_face" "_color")

which was the source of the problem

RE: SolidEdit in Lisp

Thanx CarlAK, but that way it still doesn't continue the lisp once the user has coloured the faces. As soon as you select the color, the faces are coloured and you get the solidedit dropdownbox. If you exit that one, it exits the lisp too..

What I the user to be able to rotate the object, select the visible faces and colour them.. rotate to other side, colour faces again, until all the faces are coloured.

RE: SolidEdit in Lisp

On my setup I don't get a "dropdown solidedit box", the command continues with input on the command line, thus the above code seems to work.  Maybe the guys at cadtudor will figure it out....

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close