SelectCount Function

Returns number of items selected. If argument is 'Wires', only selected wires will be counted, if argument is 'Instances', selected instances will be counted. Otherwise all items are counted.

Arguments

Number Type Compulsory Default Description
1 string No 'all' Type of item to count. 'Wires', 'Instances', 'All'
2 real No -1 Schematic ID

Argument 2

Schematic ID as returned by the OpenSchematic function. This allows this function to be used with a schematic that is not open or not currently selected. If equal to -1, the currently selected schematic will be used.

Returns

Return type: real