Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::copyEdge Method
Syntax
C++
virtual OdResult copyEdge(const OdDbSubentId & subentId, OdDbEntityPtr & newEntity);

Copies the specified edge as a separate entity (instance of the OdDbLine, OdDbCircle, OdDbArc, OdDbEllipse, OdDbSpline class). 

 

Parameters
Description
subentId
[in] Edge's subentity ID in the solid.
newEntity
[in] Reference to a new entity for the specified edge.

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

The properties of the resulting entity (color, layer, line type, lineweight) are inherited from the corresponding current document. The calling application is responsible for the memory allocated for the resulting entity. If the resulting entity is not appended to a database, it can cause a memory leak (if it is not deleted when it isn't needed anymore). This method is implemented only for Spatial modeler and returns the eNotImplementedYet status for other modelers.

Copyright © 2002-2022. Open Design Alliance All rights reserved.