*hf_TrimBinderOrAddendumWithAddDbeadDbar

Trims the current die module binder or addendum with the current addendum drawbar/bead FL.

Syntax

*hf_TrimBinderOrAddendumWithAddDbeadDbar entity_type_surf mark_id_surf entity_type_line mark_id_line

Type

HyperMesh Tcl Modify

Description

Trims the current die module binder or addendum with the current addendum drawbar/bead FL.

If an input is not specified, the binder and FL are recognized automatically and trims the current die module binder with the current addendum FL. If the surface mark is empty, it trims the current die module binder with the line contained into the line mark (trim binder with drawbar/bead).

If the surface mark is full, it trims the addendum surface contained in the mark with the line contained into the line mark (trim addendum with drawbar).

Inputs

entity_type_surf
Must be set to surfs
mark_id_surf
The mark ID containing the surfaces. Valid values are 1 and 2.
entity_type_line
Must be set to lines.
mark_id_line
The mark ID containing the lines. Valid values are 1 and 2.

Example

To trim the current die module binder with the current addendum FL:
*createmark lines 1
*createmark surfaces 1
*hf_TrimBinderOrAddendumWithAddDbeadDbar surfaces 1 lines 1
To trim addendum surface 33 with the drawbar FL 11:
*createmark lines 1 11
*createmark surfaces 1 33
*hf_TrimBinderOrAddendumWithAddDbeadDbar surfaces 1 lines 1

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

11.0