progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#2197 by thomasullmann
Wed Dec 10, 2014 10:51 am
hallo all together here a new Problem for me.

to Change the Color of an object by using vba is no Problem.
For Each Elem In AuswahlSatz
Elem.color.ColorIndex = 169
Next Elem

but now i want to Change the Color for example to darkgrey
(member of the Color book sample). it's red/green/blue-number
is rgb(128,128,128). how do i have to handle this? is it possible
with something like


thank you for your help