Re: SVG Eetracted to clip or png

2020-02-28 Thread Peter Bozek via 4D_Tech
Just use a XML commands and copy the node to another SVG files. AS SVG files are XML documents, you can use any XML DOM commands to manipulate SVG files. Something like $group:=DOM Find XML element by ID(oldSVGImage;$groupID) If (OK=1) $newEl:=DOM Append XML element(newSVGImage;$group) end if

Re: SVG Eetracted to clip or png

2020-02-28 Thread kculotta via 4D_Tech
Try using SVG_Add_object ($svgOtherDocRef;$groupRef) to get the group into the other svg document. Keith - CDI > On Feb 28, 2020, at 10:07 AM, John J Foster via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hi All, > > I have an SVG Doc which contains many grouped objects. Each group has a >

SVG Eetracted to clip or png

2020-02-28 Thread John J Foster via 4D_Tech
Hi All, I have an SVG Doc which contains many grouped objects. Each group has a unique ID (name). Sometimes I’d like to click on a part of the document, corresponding to a grouped object, and have it sent to the clipboard or saved as a png. Just the part of the document clicked on. Is there