*createconnectionelements
Creates elements of a specified type between input nodes and nodes determined from the nearest elements within tolerance.
Syntax
*createconnectionelements node_mark=<mark_id> elem_type=<value> tolerance=<value> ?<type_mark>=<mark_id>?
Type
HyperMesh Tcl Modify Command
Description
Creates elements of a specified type between input nodes and nodes determined from the nearest elements within tolerance. To search nearest elements for a given node, provide either the comp, elem, or part mark. Options can be specified in any order.
Inputs
- elem_type=<value>
- The type of 1D element to create. Must be set as rbe3.
- node_mark=<mark_id>
- The ID of the mark containing the input nodes. Valid values are 1 and 2.
- tolerance=<value>
- The tolerance used to search nearest elements. Must be greater than 0.0.
- <type_mark>=<mark_id>
- The ID of the optional mark containing the input comp_mark , elem_mark, or part_mark. Valid values are 1 and 2.
Examples
To create RBE3 elements between the nodes associated with comp ID 20038 and all displayed components, using a tolerance of 10.0:
*createmark nodes 1 "by collector" 20038
*createmark comps 1 "displayed"
*createconnectionelements node_mark=1 comp_mark=1 elem_type=rbe3 tolerance=10.0
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.1