hm_collectordisplayed
Returns the display status of a collector.
Syntax
hm_collectordisplayed entity_type entity_name
Type
HyperMesh Tcl GUI
Description
This command returns the status (0 or 1) of the specified collector. For collectors with both geometry and element display states, only the element display state is considered.
Inputs
- entity_type
- The type of the collector entity to query.
- entity_name
- The name of the collector.
Example
To determine if component "part200" is displayed on (based on elements):
hm_collectordisplayed comps part200
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}