hwITemplex GetNumberOfFunctionParameters

Determines the number of required parameters for a specified math function.

Syntax

hwITemplex_handle GetNumberOfFunctionParameters funcname

Application

HyperWorks Tcl Query

Inputs

funcname
The function for which the number of required parameters is desired.
Returns the number of required parameters for the given function. -1 denotes an error.

Example

To determine the number of required parameters for the ‘frfmag’ math function:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetTemplexHandle myTemplexName
myTemplexName GetNumberOfFunctionParameters frfmag

Errors

None.