SolidEdit in LISP

Rank: 5Rank: 5

JBullseye74

Rookie

posts: 7

Registered: 2012-7-11

Message 1 of 2

  SolidEdit in LISP
23-07-2012 05:56 . pm | View his/her posts only

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

0 Kudos

Rank: 1

ravier

Newbie

posts: 5

Registered: 2012-7-6

Message 2 of 2

SolidEdit in LISP
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
TOP 0 Kudos
© 2012 ZWCAD Software Co., Ltd. All rights reserved. | About ZWSOFT | Privacy Policy | Terms and Conditions | Contact us | Site Map
All trademarks,trade names or company names referenced herein are used for identification only and are the property of their respective owners.