hm_getsolidboundsforsurface

Returns a list of bounding surface IDs, one list for each set of bounding surfaces found, or nothing if there is not a valid closed bounds found.

Syntax

hm_getsolidboundsforsurface mark=<mark_id> ?exclude_solids=<mode>? ?find_baffles=<mode>?

Type

HyperMesh Tcl Query

Description

Returns a list of bounding surface IDs, one list for each set of bounding surfaces found, or nothing if there is not a valid closed bounds found.

Inputs

mark=<mark_id>
The ID of the mark containing the input surfaces. Valid values are 1 and 2.
exclude_solids=<mark_id>
An optional Boolean 0|1 that indicates whether to consider surfaces that already bound solids. Default is 1 if not specified.
find_baffles=<mark_id>
An optional Boolean 0|1 that indicates whether to consider baffle/fin surfaces. Default is 0 if not specified.

Examples

To find the solid bounds for surface 100:

*createmark surfs 1 100
hm_getsolidboundsforsurface mark=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

2019