HM_ExtAPI::GeomSolidInsertCavity()
Inserts cavity into existing solid.
Syntax
bool GeomSolidInsertCavity(
const HM_EntityGeomSolid& solid,
const HM_EntityGeomFace& shell_face,
int& orient_code
);
Type
HyperMesh Ext API Function
Description
The shell that contains the face specified by the shell_face parameter must have closed volume. If the shell contains several faces then all face edges must be equivalenced between each other to form the closed volume.
If the function succeeds, the return value is true. If the function fails, the return value is false. To get extended value information, call HM_ExtAPI::GetLastErrorCode().
Requires including hm_extapi.h.
Inputs
- solid
- [in] - Handle to solid object that was returned by previous calls to API functions.
- shell_face
- [in] - Handle to face object that was returned by previous calls to API functions. The cavity is created within boundary shell that contains the face specified by shell_face parameter.
- orient_code
- [in/out] - Specifies orientation of the cavity faces. This parameter can have one of following values.
Errors
None.