🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to count the Number of Displayed components in hyperview (TCL Script)

Hi,

I am trying to automate postprocessing through tcl scripting. Can someone help me with the code that would help me count the displayed components in Hyperview (Output should be the number of components displayed). Is there a function that directly does this, would really appreciate any help here.

PS I use 2024.1 Version

Sort by:
1 - 1 of 11

    the number of components is written at the TCL console, by the following commands.
    using TCL you could get these written some other ways, but you would need to tweek a little.

    These commands below write the number of displayed comps into a variable named 'numSEL'.

    set numSEL [currQuery GetSelectionSetSize]

    puts "number of displayed comps is: $numSEL"

    image.png