Read XML files

I have simple xml file which constains set of point coordinates of lines and curves.

Any basic GH trick to pick the points from line and curve tags separately and create 3d geometries from them automatically.?

XML.txt (3.5 KB)

Pancake if you don’t want to write code.

pancake_xml.gh (10.3 KB)

2 Likes

Hei, what about the height of the lines and curves? i think the xml should give 3d geometries with certain heights. Now this code does the lines on Z 0 height. And how to create the curves from theses outputs:
image

It depends on the XML file.

I don’t see an obvious Z value from your picture. Maybe staStart is the Z value? Pancake is merely a XML reader. It depends on you to interpret the data.