*hf_trim_multi
Trims the selected elements with the selected lines, optionally maintaining selected nodes.
Syntax
*hf_trim_multi entity_type mark_id line_list vector_id node_list trim_flag reserved
Type
HyperMesh Tcl Modify
Description
This command trims the selected elements with the selected lines, optionally maintaining selected nodes.
Inputs
- entity_type
- The entity type to define the elements. Valid values are comps and elems.
- mark_id
- The mark ID containing the entities. Valid values are 1 and 2.
- line_list
- The line list ID to use for trimming. Valid values are 1 and 2.
- vector_ID
- The temporary vector ID created using the *createvector command that defines the trimming direction.
- node_list
- The list ID containing any nodes to maintain. Valid values are 1 and 2.
- trim_flag
- Flag that indicates the trim type. Valid values are:
- -1 - Trim outside.
- 1 - Trim inside.
- reserved
- Reserved for future use. Must be set to 0.
Example
*createmark elems 1 1-100
*createlist lines 1 10 20 30
*createlist nodes 1
*createvector 1 0.0 0.0 1.0
*hf_trim_multi elems 1 1 1 1 1 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0