Functions and constants relating to Models
Model number. The current model is used if unspecified or zero
Family number (starting from zero). The family number of an adaptive remesh analysis
Returns |
Object with the following properties:
| Name | Type | Description |
| ctf_name | string | the full name, including the pathname, of the contact force CTF file (intfor) |
| num_families | integer | the number of adaptive remesh families in the file sequence. Will be one for a normal non-adaptive analysis |
| num_states | integer | the number of complete states in the file sequence |
| op2_name | string | the full name, including the pathname, of the Nastran OP2 file |
| pp_name | string | the full name, including the pathname, of the LS-PREPOST database file |
| ptf_name | string | the full name, including the pathname, of the complete state PTF/d3plot file |
| xtf_name | string | the full name, including the pathname, of the extra database XTF file |
| ztf_name | string | the full name, including the pathname, of the extra database ZTF file |
object
ModelExists(model_id[integer]) [static]Description
Checks whether a model exists in the database |
Model number to check
Returnsboolean Return typeBoolean |
Example
// Check if model #2 exists ModelExists(2);
|
Model number to be made current
Returnsboolean Return typeBoolean |
Example
// Make model #2 current SetCurrentModel(2);
|