Export to vector
Open Design allows you to export one or more layers to the SVG format.
Export a single layer to SVG
To export a layer, call the layer.exportToSvgCode() or layer.exportToSvgFile() (the latter being a helper method to save the SVG to disk) methods on a layer.
Here's an example:
Export multiple layers to SVG
To export multiple layers from an artboard, call the artboard.exportLayersToSvgCode() or artboard.exportLayersToSvgFile() methods on an artboard object.
Here's an example:
Was this article helpful?
β