*surfaceimprintpoints

Imprints locations/points, given by coordinates, onto surfaces within a given max distance.

Syntax

*surfaceimprintpoints mark_id double_array number_of_doubles max_distance

Type

HyperMesh Tcl Modify Command

Description

Imprints locations/points, given by coordinates, onto surfaces within a given max distance.

Inputs

mark_id
The ID of the mark containing the surfaces to imprint. Valid values are 1 and 2.
double_array
The ID of the double array that contains the point coordinates to imprint. The double array is created using the *createdoublearray command. This should always be set to 1.
number_of_doubles
Integer indicating the size (number of doubles) in the double array created using *createdoublearray. This should always be a multiple of 3.
max_distance
The maximum imprint distance. If negative, there is no restriction.

Examples

To imprint surfaces 5 and 7 with 4 locations:

*createmark surfs 2 5 7
*createdoublearray 12 42.41 -35.16 65.90 42.49 -30.06 65.93 44.49 -32.58 66.97 24.41 -28.13 66.34
*surfaceimprintpoints 2 1 12 -1.0

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