*create_springs

Creates spring elements between selected coincident nodes.

Syntax

*create_springs entity_type ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Creates spring elements between selected coincident nodes.

<option>=<value> options can be provided in any order.

Inputs

entity_type
The type of input entity. Must be set to nodes.
DestinationComp =<value>
The components to which spring elements will be stored. This is a required option.
0 - New component
1 - Current component
EntityMark=<value>
The ID of the mark containing the nodes. Valid values are 1 and 2.
Property=<value>
The property ID to be assigned to the spring elements.
PropertyMode=<value>
The properties to be assigned to the spring elements. This is a required option.
0 - New property
1 - Existing property
System=<value>
The system ID to be assigned to the spring elements.
Tolerance=<value>
The tolerance to consider coincident nodes.

Examples

To create spring elements between selected coincident nodes:

*createmark nodes 1 3-1000
*create_springs nodes EntityMark=1 Tolerance=0.1 DestinationComp=1 PropertyMode=1 Property=8

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

2019