*createintersectionsegments

Creates intersection segments as plot elements from the results of hm_collisioncheck.

Syntax

*createintersectionsegments collector

Type

HyperMesh Tcl Modify

Description

Creates intersection segments as plot elements from the results of hm_collisioncheck. hm_collisioncheck must be run with the save_segments option specified before running this command. This command must also be called before hm_collisionend is called.

Inputs

collector
0 - Create segments as plot elements in a component named ^intersection_segments.
1 - Create segments as plot elements in the current component.

Examples

To find intersecting surfaces from IDs 1-10 and to create intersection segments:
*createmark surfs 1 1-10
hm_collisioninit
hm_collisionentitycreate surfs 1 0 1 0 0 0 0 0 0
hm_collisioncheck 0 0 1 0 0 0 0 90.0 1
*createintersectionsegments 0
hm_collisionend
hm_getmark surfs 1

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

12.0