API Reference > OdDg Classes > OdDgModel Class > OdDgModel Methods > OdDgModel::addElement Method
OdDgModel::addElement Method
Syntax
C++
OdDgElementId addElement(OdDgElementPtr pElement);
Parameters 
Description 
OdDgElementPtr pElement 
[in] Pointer to the element to add. 

Returns the Element ID of the newly added element.

Adds the specified element to this Model object. 

 

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