hm_getboundingbox_predefined
Returns the bounding box for a predefined box trim cut.
Syntax
hm_getboundingbox_predefined mark_id predefinedcut limit
Type
HyperMesh Tcl Query Command
Description
This command returns the six values defining the bounding box for a mark of elements for a predefined box trim cut.
x_min y_min z_min x_max y_max z_max
The box values are determined depending on the following options.
Inputs
- mark_id
 - The ID of the mark containing the elements. Valid values are 1 and 2.
 - predefined_cut
 - The name of a predefined cut. Valid values are: 
- front
 - rear
 - right
 - left
 - frontright
 - frontleft
 - rearright
 - rearleft
 
 - limit
 - The x value of the box for predefined cuts front, rear, frontright, frontleft, rearright and rearleft.
 
Example
To get the bounding box for the displayed elements using a front cut with a limit of 0.1:
*createmark elems 1 displayed
hm_getboundingbox_predefined 1 "front" 0.1
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
11.0.130