*FE_geometry_converttoelements
Creates FE geometry edges and vertices to 1D and 0D elements respectively.
Syntax
*FE_geometry_converttoelements ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Converts FE geometry edges and vertices to 1D and 0D elements respectively. New elements are created in a new component with the name ^FE_geometry (or an incremental name like ^FE_geometry.1 or .2 if component already exists). All FE geometry surfaces, lines, and vertices are deleted.
Inputs
- entity_type=<value>
- The entity type of selected entities. Valid value is lines. The argument is optional. By default, all edges and vertices are converted to elements.
- mark=<value>
- The ID of the mark containing the selected entities. Valid values are 1 and 2. The value is optional. By default, all edges and vertices are converted to elements.
- keep_fe_geometry=<value>
- 0 – FE geometry surfaces, edges and vertices are deleted after conversion (default)
- convert_vertices=<value>
- 0 – FE vertices are not converted to elements
- convert_free_lines=<value>
- 0 – Only FE geometry surface edges are converted to 1D elements.
- original_component=<value>
- 0 – New 1D and 0D elements are created in new component with the name ^FE_geometry or an incremental name like ^FE_geometry.1 or .2 if component already exists. (default)
- edges_component=<value>
- The name of the new elements component name used instead of ^FE_geometry. Unless vertices_component is also defined the new name is used for both 1D and 0D elements.
- vertices_component=<value>
- The name of the new 0D elements component name used instead of ^FE_geometry.
Examples
To convert all FE geometry edges and vertices to 1D and 0D
elements:
*FE_geometry_converttoelements
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
2022