Description
Merges the specified shells in a model into one shell and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.MergeShells(shellCount As Long, pShellIDs As RFEntityID, dCritTolRatio As Double, pResultShellID As RFEntityID) As RFErrorCode
The MergeShells syntax has these parts:
| Part | Description |
|---|---|
| shellCount | [IN] Long Required. Number of shells to merge. |
| pShellIDs | [IN] RFEntityID Required. The first element of RFEntityID array containing shells RFEntityID to merge. |
| dCritTolRatio | [IN] Double Required. Multiplier to the automatically determined distance criterion. |
| pResultShellID | [OUT] RFEntityID Required. Entity ID of the merged shell. |
Settings
The dCritTolRatio has these settings:
| Value | Description |
|---|---|
| 0 | It pops up the dialog box for user to input the merging option. |
| 1 | It uses the automatically determined distance criterion. |
| (Non-zero and positive value) | It multiplies the automatically determined distance criterion by the specified value. |