Page 1 of 1

I can't change the color of an entity

Posted: Thu Dec 26, 2019 5:32 pm
by pietro_72_
Hello
I can't change the color of an entity made with QCAD Simple API
I did some tests (see around line 662 of the attached code) also taking inspiration from https://qcad.org/rsforum/viewtopic.php? ... olor#p8279

Re: I can't change the color of an entity

Posted: Thu Dec 26, 2019 6:21 pm
by andrew
Try:

Code: Select all

op.addObject(entity, false);
false: Don't use current attributes chosen by user.

Re: I can't change the color of an entity

Posted: Thu Dec 26, 2019 6:35 pm
by pietro_72_
ok, thanks, it works