@count()
Counts the entities in the database.
Syntax
@count (entity type, config, type)
Type
HyperMesh Template Function
Inputs
- entity type
- The type of entity to be counted. This parameter may be set to any of the entities in the database.
- config
- The configuration number of the entities to be counted. This parameter is used only if entity type is set to elements or loads. If set to zero, the entities are counted regardless of their configuration.
- type
- The type number of the entities to be counted. This parameter is used only if entity type is set to elements. If set to zero, all of the entities are counted regardless of their type.
Example
If the displayed option is selected (active) on the Export Data panel, the value returned by @count() includes only those entities that are currently displayed.