*createweldsbetweenelemsusingpoints

Creates weld element(s) between pre-existing elements at the given point(s).

Syntax

*createweldsbetweenelemsusingpoints elem1_mark elem2_mark single_col point_mark tol syst configval property remesh

Type

HyperMesh Tcl Modify Command

Description

Creates weld element(s) between pre-existing elements at the given point(s).

Inputs

elem1_mark
The element mark for the first element collector.
elem2_mark
The element mark for the second element collector, if given.
single_col
Flag for the number of element collectors used:
  • 1 - One elem collector.
  • 0 - Two elem collectors.
point_mark
The point mark for the point collector.
tol
The maximum distance allowed between the point (from the point mark) and the element (from the elem mark) to weld this element.
syst
Systems flag:
  • 1 - Build systems.
  • 0 - Do NOT build systems.
configval
Weld element type created:
  • 2 = plot
  • 3 = weld
  • 5 = rigid
  • 21 = spring
  • 60 = bar
  • 61 = rod
  • 70 = gap
property
Name of the property collector. Used to retrieve the property ID.
remesh
Remesh flag (always zero).

Examples

Each of the three points on the mark (16, 17, and 18) try to project normally onto as many elements as they can that are within a tolerance of 1.0. All of the non-adjacent elements found for each point's projections are then welded together at their projection points.
*createmark(elems, 2) "all"
*createmark(points, 2) "all"
*createweldsbetweenelemsusingpoints(2, 2, 1, 2, 1.0, 1, 3, "myprop")

If the single_col flag equals 1, then elem2_mark flag is ignored.