HM_ExtAPI::ReleaseGeomSurface()

Releases the handle to temporary surface.

Syntax

bool ReleaseGeomSurface(
const HM_EntityGeometrySurface& surface
);

Type

HyperMesh Ext API Function

Description

The function ReleaseGeomSurface must be used to release the handle to temporarily created during the call to some of API functions surface object.

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

surface
[in] - Handle to surface object that was returned by previous calls to API functions.

Errors

None.