Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SolidEdit in Lisp

Status
Not open for further replies.

SstennizZ

Programmer
Jan 25, 2008
7
NL
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...
 
I believe you need to modify it to allow undetermined user entry, such as:

(command "_solidedit" "_face" "_color")
(while (> (getvar "CMDACTIVE") 0)
(command pause)
)
 
** 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
 
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.
 
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....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top