*wadlines_hardpartzone

Creates the hard part zone by duplicating and trimming the vehicle outer components with test zone boundaries.

Syntax

*wadlines_hardpartzone entity_type mark_id double_array number_of_doubles vector_id search_distance

Type

HyperMesh Tcl Modify Command

Description

Creates the hard part zone by duplicating and trimming the vehicle outer components with test zone boundaries.

Inputs

entity_type
The type of entity for the vehicle outer. Must be set to comps.
mark_id
The ID of the mark of vehicle outer components. Valid values are 1 and 2.
double_array
The double array ID that contains the 3D coordinates of the vertices defining the test zone. 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 be 3 times the number of spheres.
vector_id
The ID of a vector created using the *createvector command. This vector defines the perpendicular direction of the test zone, used to search elements within the test zone up to the search_distance. Valid values are 1 and 2.
search_distance
The perpendicular distance from the test zone boundary used to select elements from the vehicle outer components.

Examples

To create a hard part zone around the displayed components with a tolerance of 10:

*createvector 1 0 0 1
*createdoublearray 12 1343.514343661 709.91761797527 973.43251742578 1334.7036682323 703.07456401521 973.15886027621 1327.8482379749 697.4142871779 972.93366355648 1323.86674249 694.00118686161 972.79787178914 
*createmark comps 1 displayed
*wadlines_hardpartzone comps 1 1 12 1 10

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

2021