15.5.5. count

The count function returns the number of nodes on the specified location.

count()@<Location>

where:

  • <Location> is valid for point, 1D, 2D, or 3D locations, and injection regions. For an injection region, this function returns the number of unique vertices affected by the injection region positions.

count()@Polyline1 returns the number of points on the specified polyline locator.

15.5.5.1. Tools > Command Editor Example

>calculate count, <Location>

15.5.5.2. Tools > Function Calculator Example

This example returns the number of nodes in the specified domain.

Function: count, Location: MainDomain.