set_color#

CircuitComponent.set_color(red: int = 255, green: int = 128, blue: int = 0) bool#

Set symbol color.

Parameters:
redint, optional

Red color value. The default is 255.

greenint, optional

Green color value. The default is 128.

blueint, optional

Blue color value. The default is 0

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.ChangeProperty