XMLWriter

class compas.files.XMLWriter(xml)[source]

Bases: object

Writes an XML file from XML object.

Parameters

xml (compas.files.XML) – The XML tree to write.

Methods

to_string

Convert the XML element tree to a string.

write

Write the meshes to the file.