# How to extract spline in a .dwg file and draw it using lines? Is there a way to do it other that vectorize?

 1. [FAQ](/faq)
2. »
3. [Vectorization and Visualization in Drawings](/faq/vectorization-and-visualization-drawings)

Check virtual OdResult OdDbCurve::getOdGeCurve ( OdGeCurve3d\*&amp; pGeCurve, const OdGeTol&amp; tol = OdGeContext::gTol ) const;  
use pGeCurve-&gt;getSamplePoints(...) and delete OdDbCurve;
