Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

roll20api: Warning: Unsupported node 'g'

I've exported an SVG and am trying to generate dynamic lighting via&nbsp; <a href="http://roll20api.net/" rel="nofollow">http://roll20api.net/</a> &nbsp;but am getting this error: Warning: Unsupported node 'g' and then get a minimal walls script. i.e.&nbsp; !walls begin !walls viewbox 1050 1050 !walls strokecolor #ff0000 !walls fillcolor transparent !walls strokewidth 5 !walls end If it helps, the entire SVG I have is: &lt;svg xmlns="<a href="http://www.w3.org/2000/svg" rel="nofollow">http://www.w3.org/2000/svg</a>" xmlns:inkscape="<a href="http://www.inkscape.org/namespaces/inkscape" rel="nofollow">http://www.inkscape.org/namespaces/inkscape</a>" width="381mm" height="381mm" viewBox="0 0 1050 1050" xmlns:dgnfog="<a href="https://www.dungeonfog.com/1/svg" rel="nofollow">https://www.dungeonfog.com/1/svg</a>" dgnfog:map="f05340cc049e8f333214388b5d36d8bf" dgnfog:level="4e8a2904-480d-4aa8-d3de-eb52f67a995b"&gt;&lt;g inkscape:groupmode="layer" inkscape:label="Rooms" id="rooms"&gt;&lt;g id="c1c4b4f5-3de9-4c58-e472-f8c2c422896e"&gt;&lt;line id="de22e23c-c6e8-48a3-debf-a36cf3570f75" dgnfog:type="door" x1="560" y1="347.25" x2="560" y2="294.75" stroke="blue"/&gt;&lt;path d="M980,70L980,630L560,630L560,70L980,70Z" fill="none" stroke="black" dgnfog:hidden=""/&gt;&lt;/g&gt;&lt;/g&gt;&lt;g inkscape:groupmode="layer" inkscape:label="Props" id="props"&gt;&lt;g id="2716e9fa-f5b2-4d6e-94ad-3d9b5d505c82" dgnfog:type="image"&gt;&lt;rect dgnfog:type="shape" dgnfog:shadow="true" x="416" y="213" width="70" height="70"/&gt;&lt;/g&gt;&lt;g id="d3439d26-673e-4470-9399-2e260c23182a" dgnfog:type="image"&gt;&lt;rect dgnfog:type="shape" dgnfog:shadow="true" x="734" y="316" width="70" height="70"/&gt;&lt;/g&gt;&lt;g id="b322aa84-eae9-48ae-adeb-6f3f9177a371" dgnfog:type="token"&gt;&lt;circle dgnfog:type="shape" cx="665" cy="245" r="35"/&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt; Any idea what the problem is?
1585945033
The Aaron
Roll20 Production Team
API Scripter
I built Walls to work with output from GIMP's exporting a Path Object.&nbsp; I only implemented the minimal subset from SVG to support that task.&nbsp; anything inside an unsupported node is discarded.&nbsp; Since everything is inside the of a group node, there are no lines created.