Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

dlSetPenColor

dlSetPenColor(
x_penNumber 
x_colorIndex 
[ w_penTable ]
) 
=> t / nil 

Description

Changes the specified pen to the specified color index from the pen table.

Arguments

x_penNumber

Pen number to use.

x_colorIndex

Color desired.

w_penTable

Pen table this pen belongs to. If you do not specify the w_penTable, the default pen table is used. In order to obtain a desired color, you may use hiStringToIcon to find the color index that most closely matches the desired color.

Value Returned

t

The pen color is changed.

nil

The pen color could not be changed.

Related Topics

Display List Pen Functions


Return to top
 ⠀
X