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

pcGetCodeParamValue

pcGetCodeParamValue(
d_cellViewId
S_codeParamName
) 
=> g_value / nil

Description

Returns the value of a specified code parameter.

Arguments

d_cellViewId

A Pcell super master ID or sub master ID. If cellView ID is a Pcell sub master ID, the function will obtain the code parameter from its super master.

S_codeParamName

The name of any defined code parameter.Type: Symbol or String.

Value Returned

g_value

Returns the value of the specified code parameter. The returned value can be integer, float, string, Boolean, or a list.

nil

Specified code not found.

Examples

createGateValue = pcGetCodeParamValue( cvId "createGate" ) 
=> t

In this example, createGate is a defined Boolean code parameter. It returns the value of the createGate code parameter.


Return to top
 ⠀
X