Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

set_count

set_count 
-set d_setObj 

Description

Returns the number of objects in the specified set.

Arguments

-set d_setObj

Specifies the set.

Value Returned

i_count

Specifies the number of objects in the set.

Examples

The following example sets the aset_count variable with the number of objects in the selection set.

set aset_count [set_count -set [get_selection_set]]

The following example sets the nandinst_count variable with the number of instances with names that begin with NAND.

set nandinst_count [set_count -set [find_instance -set $NAND -name "NAND*"]]

Related Topics

Edit Commands

report_set


Return to top
 ⠀
X