CAD/CAM discussion forum > CAD Tutorial & Tips > AutoCAD autolisp solidedit, run autocad solid editing command in ZWCAD lisp

AutoCAD autolisp solidedit, run autocad solid editing command in ZWCAD lisp

    
  Subscribe Topic

Rank: 1

JBullseye74

Newbie

posts: 7

Registered: 2012-7-11

Message 1 of 2

 AutoCAD autolisp solidedit, run autocad solid editing command in ZWCAD lisp
23-07-2012 05:56 . pm   |   View his/her posts only
Can someone know autolisp solidedit tell me how to run autocad solid editing in ZWCAD 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...

Code: (command "_solidedit" "_face" "_color")

Rank: 1

ravier

Newbie

posts: 12

Registered: 2012-7-6

Message 2 of 2

23-07-2012 05:59 . pm   |   View his/her posts only
Hi,
Test this code, if "pause" you change with variable that code would error.
Code:
(defun c:test (/ col)
(while
(setq col (getint "\nEnter new color for face object: "))
(command "_solidedit" "f" "l" pause "" col "" "")
) ; while
(princ)
) ; defun
See also
X