Subroutine Type |
Utility/Data Access |
|||||||||||||||||||||||||
Definition |
The GETNUMID utility subroutine returns the total number of model entities of a particular type. |
|||||||||||||||||||||||||
Calling Syntax |
FortranCALL GETNUMID (TYPE, NUMID)
Cc_getnumid(type, numid)
Python[numid] = py_getnumid(type)
Matlab[numid] = m_getnumid(type) |
|||||||||||||||||||||||||
Input Arguments |
TYPE |
A string that specifies the name of the model entity. Valid expressions include:
|
||||||||||||||||||||||||
Output Values |
NUMID |
An integer that specifies the number of model entities specified by TYPE in the MotionSolve model. |
||||||||||||||||||||||||
Complete Definition |
The GETNUMID is a function style subroutine which can be used in a user defined subroutine to query MotionSolve for the number of model entities of a particular type. The valid types are listed in the table above. GETNUMID can be called in any user subroutine. |
|||||||||||||||||||||||||
Example |
Please see TUNSUB for a GETNUMID usage example. |
See Also: