API Reference > Classes > ExportUtils Classes > OdBmExportUtils Class > OdBmExportUtils Methods > OdBmExportUtils::getElementExportIdWithIndex Method
OdBmExportUtils::getElementExportIdWithIndex Method
Syntax
C++
static OdGUID getElementExportIdWithIndex(const OdBmElementPtr& pElement, OdInt16 nIndex);
Parameters 
Description 
const OdBmElementPtr& pElement 
[in] A smart pointer to the element for which the export GUID should be returned.  
OdInt16 nIndex 
[in] An index of subelement to be included into the GUID.
 

Returns an OdGUID object; in the case of error, the method returns the OdGUID::kNull value.

Retrieves the global unique identifier (GUID) of an element and subelement index for DWF and IFC export. 

 

The GUID returned by the method is the result of the XOR operation between the episode GUID and element handle and subelement index in hex representation.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.