*collisioncheck_temp
Performs a collision detection.
Syntax
*collisioncheck_temp mark_id_int_elems mark_id_pene_elems mark_id_int_surfs mark_id_pene_surfs mark_id_pene_nodes self_check reserved1 ?pair_angle? ?store_segments? ?mark_adjoining? ?topo_feature_angle? ?pair_results?
Type
HyperMesh Tcl Modify
Description
Performs a collision detection using the input entities defined by hm_collisionentitycreate. This must be preceded by hm_collisioninit and one or two calls to hm_collisionentitycreate. Multiple calls to this API can be made to perform different detections.
This command is a temporary command and may be deprecated in a future release.
Inputs
The inputs are the same as hm_collisioncheck except for:
- pair_results
- If set to 0, detailed pair results are not calculated and none of the hm_collisionget* APIs can be used (default, same as hm_collisioncheck).
Example
To check intersections and penetrations of comps 1001 and 1002, using the nodes of comp 1002 against the elements of comp 1001 for the penetration check, creating only collision result entities:
*createmark comps 1 1001
*createmark comps 2 1002
hm_collisioninit [hm_collisiongetconfig collirad]
hm_collisionentitycreate comps 1 0 1 0.0 0 0 0 0 1
hm_collisionentitycreate comps 2 0 1 0.0 0 0 0 0 2
*collisioncheck_temp 1 1 0 0 1 0 0 90.0 0 0 0.0 3
hm_collisionend
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2017.1