@attributesmaxforsolver()

Returns the number of attributes on the current entity that belong to a solver.

Syntax

@attributesmaxforsolver (solver)

Type

HyperMesh Template Function

Inputs

solver
The solver number. This function will count the number of attributes that are used for 'solver'. A result of zero indicates that there is no card image for 'solver' on the current entity.

Example

*nodes()
  *format()
    *uservariableset(#max,[@attributesmaxforsolver(1)])
    *if([#max != 0])
      *string("Node ")
      *field(integer,id,0)
      *string(" contains ")
      *field(integer,#max,0)
      *string(" nastran attributes")
      *end()
    *endif()
*output()