set_count
set_count
-set d_setObj
Description
Returns the number of objects in the specified set.
Arguments
Value Returned
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
Return to top