Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

setplist

setplist( 
s_atom 
l_plist 
) 
=> l_plist

Description

Sets the property list of an object to a new property list; the old property list attached to the object is lost.

Users are strongly discouraged from using setplist because it might remove vital properties being used by the system or other applications.

Arguments

s_atom

A symbol.

l_plist

New property list to attach to s_atom.

Value Returned

l_plist

New property list for s_atom; the old property list is lost.

Examples

setplist( 'chip '(pins 8 power 5) )    
=> (pins 8 power 5)
plist( 'chip )                         
=> (pins 8 power 5)
chip.power                             
=> 5

Related Topics

getq

getqq

plist

putpropq

putpropqq

remprop


Return to top
 ⠀
X