hmbrapi
Returns information about hmbr3 browser views and selections.
Syntax
hmbrapi mode ?-option1 <value1>? ?-option2 <value2>? … ?-optionN <valueN>?
Type
HyperMesh Tcl GUI Command
Description
Returns information about hmbr3 browser views and selections.
Inputs
- mode ?-option1 <value1>? ?-option2 <value2>? … ?-optionN <valueN>?
- The mode of query and any relevant options. Valid values and options are:
Example
Assuming the "Component" and "Property" folders have been selected in the model view ("content"), query the selected types:
hmbrapi selectedtypes -view content
{Components Properties}
Assuming the "Component" and "Property" folders have been selected in the model view ("content"), query the selection:
hmbrapi selection -view content
{Components {2233 2243 2250 2267 255}} {Properties {31 421 43}}
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
2017.1