API Reference > OdDb Classes > OdDbNurbSurface Class > OdDbNurbSurface Methods > OdDbNurbSurface::convertFrom Method
OdDbNurbSurface::convertFrom Method
Syntax
C++
OdResult convertFrom(OdDbSurface* pSource, OdDb::DwgVersion version, bool transferId = true);
Parameters 
Description 
OdDbSurface* pSource 
[in] A pointer to the source surface.  
OdDb::DwgVersion version 
[in] .dwg file version of the source surface.  
bool transferId = true 
[in] Indicates whether the Id of the source surface is transferred to the surface.
 

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

Creates a surface from a specified surface with conversion. 

 

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