How to export a .dwg drawing to a vector image (.svg)?

  1. FAQ
  2. »
  3. Export Questions

To export a .dwg drawing to a vector image file:

  1. Load the OdGsModule module.
  2. Create the graphics device.
  3. Set the required rendering properties.
  4. Set up the layout to render.
  5. Define the device output rectangle.
  6. Initiate the rendering process using the OdGsDevice::update() method.

For more details, see OdSvgExportEx sample application (\Core\Exports\RasterExport\).