API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::setOwnerId Method
OdDgElement::setOwnerId Method
Syntax
C++
virtual void setOwnerId(OdDgElementId ownerId);
Parameters 
Description 
OdDgElementId ownerId 
[in] Owner's elementId. 

Sets this element's ownerId data member. 

 

This function lets this element know its owner; it does not notify the owner.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.