*createflattenfold
Creates a flatten fold setup for solver run to get the resulting position of airbag.
Syntax
*createflattenfold airbagmark=<mark_id> ?exportdir=<value>?
Type
HyperMesh Tcl Modify Command
Description
Creates a flatten fold setup for solver run to get the resulting position of airbag. The folding table must be created using *createfoldingtable before running the command.Inputs
- airbagmark=<mark_id>
- The ID of the mark containing the airbag components. Valid values are 1 and 2.
- exportdir=<value>
- The directory path where the resulting solver deck is exported. User should have the write permission in this directory. Default is set to the location defined by the environment variable ALTAIR_HOME.
Examples
To define a flatten airbag fold:
*createmark comps 1 all
*createflattenfold airbagmark=1 exportdir=E:\temp
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022