HM_ExtAPI::CADDocumentGetAssmIsPart()

Returns the type of the model assembly hierarchy document.

Syntax

bool CADDocumentGetAssmIsPart(
const HM_CAD_Document & doc
);

Type

HyperMesh Ext API Function

Description

Checks whether the current assembly file is actually a part file. It returns "true" for a part and "false" for an assembly. This function applies to CATIA, NX and Creo parts.

Requires including hm_extapi.h.

Inputs

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

Errors

None.