hm_collisionvisualizebymark
Enables the visualization of collision entities using one of various supported visualization modes.
Syntax
hm_collisionvisualizebymark mark_id node_mark_id review_type fit_view display_type
Type
HyperMesh Tcl Query Command
Description
Enables the visualization of collision entities using one of various supported visualization modes.
Inputs
- mark_id
 - The ID of the markcontaining the collision entities to be visualized. Valid values are 1 and 2.
 - node_mark_id
 - The ID of the mark containing the secondary nodes from the collision entities on mark_id. Only these nodes will be visualized. Valid values are 1 and 2.
 - review_type
 - A flag that indicates the type of visualization. Valid values are:
 - fit_view
 - 0 - Do not fit view
 - display_type
 - A flag that indicates which elements to display. Valid values are:
 
Examples
To highlight intersecting elements of comps 1001 and 1002 with auto-fit and display of the components with failed elements:
set config [hm_collisiongetconfig collirad intersections];
*clearmark comps 1 all;
eval *createmark comps 1 1001 1002;
*collisioncheck2_temp comps 1 $config 0.0 0.0 0.0 0.0;
*createmark collisions 1 all;
hm_collisionvisualizebymark 1 0 1 1 2;
      To generate a contour plot of penetration depths of comps 1001 and 1002 without auto-fit and display only failed elements:
set config [hm_collisiongetconfig collirad penetrations];
*clearmark comps 1 all;
eval *createmark comps 1 1001 1002;
*collisioncheck2_temp comps 1 $config 0.0 0.0 0.0 0.0;
*createmark collisions 1 all;
hm_collisionvisualizebymark 1 0 3 0 3;
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
2019