API Reference > OdIfc Namespace > OdIfc::Utils Namespace > Functions > OdIfc::Utils::assignGlobalId Function
OdIfc::Utils::assignGlobalId Function
Syntax
C++
bool IFCCORE_EXPORT assignGlobalId(OdIfcEntity * pInst);

IfcUtils.h

Parameters 
Description 
OdIfcEntity * pInst 
[in] A raw pointer to the IFC entity instance.  

true if the attribute "GlobalId" was successfully assigned; otherwise the method returns false.

Assigns a generated global identifier to the "GlobalId" attribute of an entity derived from an IfcRoot object.

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