@elemcountperinclude()

Returns the number of elements of a specific configuration and type for a specific component being exported to an include file.

Syntax

@elemcountperinclude (entity_type, config, type, include_id,component_id)

Type

HyperMesh Template Function

Description

This function returns the number of elements of a specific configuration and type for a specific component being exported to an include file.

Inputs

entity type
The type of entity to be counted. Currently, this is restricted to be only elements.
config
The configuration of the elements to be counted. If set to zero, entities are counted regardless of their configuration.
type
The type of the elements to be counted. If set to zero, entities of the specified config are counted regardless of their type.
include_id
The ID of the include file.
component_id
The ID of the component.

Example

To query the elements of config 104 and type 1 in include 1 and component 100:

*variableset(variable1,[@elemcountperinclude(104,1,1,100)])

Version History

14.0