hm_getwhollycontainedcollectormark
Returns the collectors that wholly contain the input entities.
Syntax
hm_getwhollycontainedcollectormark entity_type entity_mark_id collector_mark_id reverse
Type
HyperMesh Tcl Query
Description
This command returns the collectors that wholly contain the input entities.
Inputs
- entity_type
-
- The type of entity to query. Valid values are:
- elems (output is components)
- loads (output is load collectors)
- curves (output is plots)
- systs (output is system collectors)
- vectors (output is vector collectors)
- entity_mark_id
- The ID of the mark containing the input entities. Valid values are 1 and 2.
- collector_mark_id
- The ID of the mark containing the collectors that wholly contain the input entities. The collector type is dependent on the specified entity_type. Valid values are 1 and 2.
- reverse
-
- 0 - Find only wholly contained collectors.
- 1 - Find not-wholly contained collectors.
Examples
To find the components that wholly contain elements 1-100:
*createmark elems 1 1-100
hm_getwhollycontainedcollectormark elems 1 1 0
To find the components that simply contain elements 1-100:
*createmark elems 1 1-100
hm_getwhollycontainedcollectormark elems 1 1 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.101