hm_proximitymarksourceproximityelements

Marks all the source elements within proximity to the given mark.

Syntax

hm_proximitymarksourceproximityelements mark_id

Type

HyperMesh Tcl Query Command

Description

Marks all the source elements within proximity to the given mark.

This must be preceded by a call to hm_proximityinit and followed by a call to hm_proximityend.

Inputs

mark_id
The ID of the mark to which the elements will be placed. Valid values are 1 and 2.

Examples

To output the source proximity elements to mark 1 and highlight them:

*createmark comps 1 all 
hm_proximityinit comps 1 2.5
hm_proximitymarksourceproximityelements 1
hm_highlightmark elems 1 h
hm_proximityend

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

2019