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

schGetMatchingObjects

schGetMatchingObjects( 
d_cvId 
t_propName 
t_condOp 
t_propValue 
g_useSelSet 
)
=> l_objects / nil

Description

Finds the set of objects that match the specified search criteria in a cellview. You can search by property to limit the search in the selected set.

Arguments

d_cvId

Cellview ID of a schematic or symbol cellview in which to place copied graphics.

t_propName

Property name to search for.

t_condOp

Conditional operator to use during the matching; must be enclosed in quotation marks.
Valid Values: ==, !=, <, >, <=, >=

t_propValue

Property value to search for; must be enclosed in quotation marks. If t_propName is master, t_propValue must be

t_libName t_cellName t_viewName

(separated by spaces).

g_useSelSet

Search is limited to the selected set if set to t; search includes the entire cellview if set to nil.

Value Returned

l_objects

The set of objects that match the search criteria.

nil

Finding objects was unsuccessful.

Examples

Returns all the nand2 instances in the flipflop schematic.

cvId = dbOpenCellViewByType( "sample" "flipflop" "schematic" "" 'r nil )
instList = schGetMatchingObjects( cvId "cellName" "==" "nand2" nil )

Return to top
 ⠀
X