*segmentsetcreatewithshells
Creates a segment set using 1D or 2D elements.
Syntax
*segmentsetcreatewithshells name color mark_id reverse_normals
Type
HyperMesh Tcl Modify Command
Description
Creates a segment set using 1D or 2D elements.
Inputs
- name
- The name of the segment set to update.
- color
- The color of the segment set. Valid values are 1-64.
- mark_id
- The ID of the mark containing the elements to add. Valid values are 1 and 2.
- reverse_normals
- Create segment set:
Examples
To create a segment set named "test" with elements
1-100:
*createmark elems 1 1-100
*segmentsetcreatewithshells "test" 5 1 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
2020