Multiple SVG Layers jit.mgraphics

evengravy's icon

Hi,

I am currently writing an application in max that requires me to access an SVG file with multiple layers. I have used jit.mgraphics to render the file with prepend svg_create and svg_render. I can not access individual slices however, is this possible without writing an external?

Looking at the raw file in a text editor shows that each layer is tagged with a layer id as follows:

g id="layer0"
g id="Layer1"

etc.

I'd appreciate any input,
Thanks
even