API Reference > Classes > Export Classes > TB_IFCEXPORT Namespace > Classes > OdContainmentCache Class > OdContainmentCache Methods > OdContainmentCache::AddRelation Method
OdContainmentCache::AddRelation Method
Syntax
C++
void AddRelation(const OdDAIObjectId& container, const OdDAIObjectId& objectHnd);
Parameters 
Description 
const OdDAIObjectId& container 
[in] container.  
const OdDAIObjectId& objectHnd 
[in] object to add. 

Add an object to a container. 

 

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