Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schCreateInstBox

schCreateInstBox( 
d_cvId 
[ l_bBox ] 
)
=> d_id / nil

Description

Creates an instance box in the given symbol cellview. This function uses a bounding box you specify or determines a bounding box from the pins and device shapes.

Arguments

d_cvId

Cellview ID of an editable symbol cellview in which to create the instance box.

l_bBox

List specifying the corners of the instance box to create. If not specified, or specified as nil, a bounding box created from all the pins and device shapes is used.

Value Returned

d_id

The ID of the created instance box.

nil

Instance box creation was unsuccessful.

Examples

Creates an instance box in the inv symbol cellview based on the pins and device shapes in the cellview.

cvId = dbOpenCellViewByType( "sample" "inv" "symbol" "" 'a )
boxId = schCreateInstBox( cvId )

Creates an instance box with the specified bBox coordinates.

boxId = schCreateInstBox( cvId list(0:0 2:2) )

Return to top
 ⠀
X