set_layer_color#
- Layer.set_layer_color(r: int, g: int, b: int) bool#
Update the color of the layer.
- Parameters:
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oEditor.ChangeLayer
Examples
>>> from ansys.aedt.core.modules.layer_stackup import Layer >>> obj = Layer() >>> obj.set_layer_color(r=1, g=1, b=[0, 1, 0])