Product Documentation
Virtuoso Parameterized Cell SKILL Reference
Product Version IC23.1, August 2023

pcIsParamSlot

pcIsParamSlot(
g_device
s_propName
)
=> t / nil

Description

Checks whether the specified propName is a parameter slot of the specified device.

Arguments

g_device

A SKILL++ Pcell class object that is inherited from the class pcParamClass.

s_propName

A parameter slot name of the given device.

Value Returned

t

If the specified propName is a parameter slot of the specified device.

nil

If the specified propName is not a parameter slot of the specified device.

Examples

pcell =  makeInstance( 'CORE )
pcIsParamSlot( pcell 'cyanW )
=> t

Returns t because cyanW is defined as a parameter slot in CORE class.


Return to top
 ⠀
X