hm_ce_getprojfesize

Returns the number of welds created in a layer. This includes weld and rigids.

Syntax

hm_ce_getprojfesize index

Type

HyperMesh Tcl Query

Description

Returns the number of welds created in a layer. This includes weld and rigids.

Inputs

index
The index of interest in the projection data array.

Example

To get the number of welds created at index 2:

set num_of_projs [hm_ce_getnumoffeprojinfo ];
foreach index $num_of_projs {
       if { $index == 2 } {
           set num_welds [ hm_ce_getprojfesize $index ];
           break;
       }
}

This function should only be called from within a connector-registered property script (which is executed during connector FE realization). The projection data this function relies upon is removed immediately after connector FE realization.

If at a given location (say between comp 1 and comp 2) spring is created with plot elements then the number of welds will be 3.

Errors

None.