hm_entityincollector

Returns the number of entities in a collector.

Syntax

hm_entityincollector collector_type collector_name_or_id entity_type config_num type_num searchType

Type

HyperMesh Tcl Query Command

Description

Returns the number of entities in a collector.

Inputs

collector_type
The type of the queried collector.
collector_name_or_id
The name or ID of the queried collector.
entity_type
The type of the entity to be counted.
config_num
The configuration number of the entities to be counted. If set to zero, the entities are counted regardless of their configuration.
type_num
The type number of the entities to be counted. If set to zero, all of the entities are counted regardless of their type.
searchType
By default, HyperMesh searches for entities by name, and if the name is not found, it then searches by ID. This option allows you to specify how the search for an entity should be conducted. The two options are:
-byname: search only by name
-byid: search only by ID

Errors

None.