TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on April 19, 2017, 06:54:40 AM
-
Whien I use (vla-put-color obj 1) I get following error :-
Automation Error. Invalid argument color in IAcadEntity::put_Color
Please help.
-
Please provide code and a drawing to demonstrate your issue.
-
Thanks kdub. Actually my color index was in a variable named 'colr' which had value > 255
I reduced its value, and the problem is solved.
-
Just an FYI, the snippet you posted had a color code of "1". For better results post the snippet including how you set each variable.