Description
Merges all the shells in a model into one shell.
Syntax
Function RFMeshTools.MergeAllShells(bShownShellOnly As Boolean, dCritTolRatio As Double, pResultShellID As RFEntityID) As RFErrorCode
The MergeAllShells syntax has these parts:
| Part | Description |
|---|---|
| bShownShellOnly | [IN] Boolean Required. It determines whether only the visible shells are merged. |
| 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. |