API Reference > OdDb Classes > OdDbBody Class > OdDbBody Methods > OdDbBody::setBody Method
OdDbBody::setBody Method
Syntax
C++
virtual OdResult setBody(const void* pGeometry);
Parameters 
Description 
const void* pGeometry 
[in] Pointer to the modeler geometry.
 

eOk if new model geometry was successfully set or an appropriate error code otherwise.

Directly sets the contained modeler geometry of this entity. 

 

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