API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::copySubEntity Method
OdModelerGeometry::copySubEntity Method
Syntax
C++
virtual OdResult copySubEntity(const OdDbSubentId & subentId, OdDbEntityPtr & newEntity) const = 0;
Parameters 
Description 
const OdDbSubentId & subentId 
[in] ID of the subendity to be copied.  
OdDbEntityPtr & newEntity 
[out] Reference to the created copy of the subentity.
 

eOk if successful or an appropriate error code in the other case.

Creates a copy of a specified subentity of this entity. 

 

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