*createelements
Create multiple 1D elements from a list of nodes.
Syntax
*createelements config type integer_array number_of_integers
Type
HyperMesh Tcl Modify Command
Description
Create multiple 1D elements from a list of nodes.
Inputs
- config
- The HyperMesh element config number.
- type
- The solver type number.
- integer_array
- The ID of the integer array created using *createarray containing the pairs of nodes. Must be set to 1.
- number_of_integers
- The number of integers in the array.
Examples
To create two PLOTEL elements between nodes 1001 and 1003, and 1007 and 1009:
*createarray 4 1001 1003 1007 1009
*createelements 2 1 1 4
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
2020