*hf_CreateBinderSectionAndHandles
Create a section on a binder surface and create five handles on it. The binder section can be identifying by a cutting plane, by two nodes or selecting an existing line. The binder is automatically identified.
Syntax
*hf_CreateBinderSectionAndHandles plane_flag plane entity_type node_mark_id line_id
Type
HyperMesh Tcl Modify Command
Description
This command creates a section on a binder surface. The section can be identified in different ways.
First, it is possible to use a cutting plane. In this case plane_flag is 1 and the cut plane is stored into plane and all the other arguments are ignored.
Second, it is possible to use two nodes. In this case plane_flag is 0 and the nodes are stored into node_mark_id, entity_type is set to nodes, and all the other arguments are ignored.
Finally, it is possible to select a line. In this case plane_flag is 0 and the line is identified by line_id while all the other arguments are ignored.
Inputs
- plane_flag
- Flag indicating how the selection is being made. Valid values are:
- 1 - User-defined cutting plane.
- 0 - All other cases.
- plane
- The ID of the temporary plane created with the *createplane command. Ignored when plane_flag is 0.
- entity_type
- Must be set to nodes.
- node_mark_id
- The mark ID containing the nodes. Valid values are 1 and 2. Ignored when plane_flag is 1.
- line_id
- The ID of the selected line. Ignored when plane_flag is 1.
Examples
*createplane 1 0.0000 1.0000 0.0000 7097.5495,-1339.4592 1424.5666
*hf_CreateBinderSectionAndHandles 1 1 nodes 1 0
*createmark nodes 1 4615 4614
*hf_CreateBinderSectionAndHandles 0 1 nodes 1 0
*createmark nodes 1
*hf_CreateBinderSectionAndHandles 0 1 nodes 1 6721
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0