60001538 Grouping objects by layer when exporting to SVG

Article 60001538
Type Wish
Product Engine
Version 6025
Date Added 11/11/2011 12:00:00 AM
Fixed (6/11/2013 12:00:00 AM)
Submitted by Shannon Davenport

Summary

Is it possible to group objects by layer when exporting to SVG format ?

Solution


In version 6026 an Atribute with name 'vd_layer' was added for each drawing figure that defines the Name of the layer that figure belongs to.

You can get the layer name in javascript as follow:

var layerName = figure.getAttributeNS(null, 'vd_layer');

Send comments on this topic.