*create_tube_midline
Creates midlines from tube solids.
Syntax
*create_tube_midline mark=<mark_id> ?dest_comp=<value>? ?copy_metadata=<value>? ?tube_ends_mark=<mark_id>?
Type
HyperMesh Tcl Modify Command
Description
Creates midlines from tube solids.
The options can be specified in any order.
Inputs
- mark=<mark_id>
- The ID of the mark containing the input solids. Valid values are 1 and 2. This is mandatory.
- copy_metadata=<value>
- This specifies whether the metadata is copied from the input solids to the appropriate midline:
- dest_comp=<value>
- This specifies which component the midlines will be created in:
- tube_ends_mark=<mark_id>
- The ID of the mark containing hint surfaces that constitute ends of the tube. Valid values are 1 and 2.
Examples
To extract the midlines from solids 234 and 235 and place the result in the same components as the original solids:
*createmark solids 1 234 235
*create_tube_midline mark=1 dest_comp=original
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2020
2020.1 - Added new optional argument tube_ends_mark.