Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbPolyline::convertTo Method
Syntax
C++
OdResult convertTo(OdDb2dPolyline* pDest, bool transferId = true);

Fills the specified OdDb2dPolyline with data from this OdDbPolyline entity. 

 

Parameters
Description
pDest
[in] Pointer to the destination OdDb2dPolyline entity.
transferId
[in] True to do a handOverTo() between this OdDbPolyline entity and the destination OdDb2dPolyline entity.

Returns one of the following: 

 

Name
Description
eOk
Success
eIllegalReplacement
This entity is non- database resident.
eObjectToBeDeleted
This entity is now non- database resident, and should be deleted.

If and only if transferId is true,

  • The destination OdDb2dPolyline entity will be made database resident.
  • It will assume the objectId, handle, extended entity data, extension dictionary, and reactors of this OdDbPolyline entity.
  • This OdDbPolyline entity will made non- database resident, and may be deleted with the C++ delete operator.
Copyright © 2002-2022. Open Design Alliance All rights reserved.