API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::copyBody Method
OdIfcModelerGeometry::copyBody Method
Syntax
C++
virtual OdResult copyBody(OdIfcModelerGeometryPtr b) = 0;
Parameters 
Description 
OdIfcModelerGeometryPtr b 
[in] A smart-pointer to the source geometry modeler object. 

Returns the copy result code: eOk if the body was successfully copied; eNullEntityPointer if the source is NULL; eIllegalEntityType if the source object is not an instance of the OdIfcModelerGeometry class.

Copies the body from a specified geometry modeler instance. 

 

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