*elementtestfree1d
Tests 1D elements for free nodes.
Syntax
*elementtestfree1d entity_type mark_id output_mark_id
Type
HyperMesh Tcl Modify Command
Description
Tests 1D elements for free nodes.
Inputs
- entity_type
- The entity types to be returned. Both nodes and elements are supported.
- mark_id
- The mark ID containing the elements to test. Valid values are 1 and 2.
- output_mark_id
- The mark ID where the failed elements or nodes will be placed. Valid values are 1 and 2.
Example
To test all displayed elements to find the free 1D
elements:
*createmark elems 1 "displayed"
*createmark elems 2
*elementtestfree1d elems 1 2
To test all displayed elements to find the free 1D element
nodes:
*createmark elems 1 "displayed"
*createmark nodes 2
*elementtestfree1d nodes 1 2
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}