The string that is returned from the function
HM_ExtAPI::CADDocumentGetInstanceName() should be copied for further
use.
If the function succeeds, the return value is the pointer to zero terminated string that
contains the full instance name of the document. The return value can also be NULL. This
usually means that assembly hierarchy is not supported by the CAD translator used for
loading the model.
Do not attempt to free the returned pointer.
The instance name of the document combines the document’s own name (independent on the
assembly that it is contained in) and the link name that is used to reference this document
in the assembly.
Requires including hm_extapi.h.
Inputs
doc
[in] - Handle to document object that was returned by previous calls to API
functions.Figure 1.