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.
 

Returns eOk if new model geometry was successfully set or an appropriate error in the other case.

Directly sets the contained modeler geometry of this entity. 

 

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