Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

xfgrAddRow

xfgrAddRow( 
t_tableName
[ l_values ]
) 
=> t / nil

Description

Adds a row with the specified values in a table. This function is used from the xFGR Create form customization callback functions.

Arguments

t_tableName

The name of the table.

l_values

List of row values.

Value Returned

t

The function is successful.

nil

The function is not successful.

Example

Adds a row in the specified table.

procedure(fgrCreateFormInit()
let((colProps rowProps)
    ;;Adding table for implant layer refernce
    colProps = list(list("layer1" "string" "Layer1")
     list("layer2" "string" "Layer2")
list("spacing" "double" "Spacing" "lineedit" 0.0)
)
xfgrAddTable(?tableName "myTable" ?tableColProps colProps )
)) procedure(optionValueChanged(optionName value prevValue)     xfgrAddRow("myTable" list("Metal1" "Oxide" "0.02"))     )
;; step 1
xfgrConfigureOptionsCB("r" "fgrCreateFormInit")
;; step 2 xfgrOptionValueChangeCB("r" "optionValueChanged")

Return to top
 ⠀
X