*meshdragelements2

Creates solid elements by dragging 2D elements along a vector.

Syntax

*meshdragelements2 mark_id vector_id distance on_drag bias_style biasing organize

Type

HyperMesh Tcl Modify

Description

Creates solid elements by dragging 2D elements along a vector.

Inputs

mark_id
The ID of the mark containing the elements to be dragged.
vector_id
The ID of the vector along which the elements should be dragged, created using *createvector.
distance
The distance which the elements should be dragged.
on_drag
The number of elements to create along the drag.
bias_style
0 - Linear
1 - Exponential
2 - Bell curve
biasing
The biasing intensity value.
organize
0 - Elements to current component
1 - Elements to original component

Example

To create 5 elements by dragging elements 10 and 11 along a vector defined by (1.0, 0.0, 0.0) a length of 50 units, and have the resulting elems in the original comp:

*createvector 1 1.0 0.0 0.0
*createmark elements 1 10 11
*meshdragelements2 1 1 50.0 5 1 0.0 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

12.0.110