# Problem with creating \*.xml file

**URL:** <https://discourse.ladybug.tools/t/problem-with-creating-xml-file/5223>\
**Category:** ladybug-tools\
**Tags:** daylight\
**Created:** [February 8, 2019, 5:19pm UTC](https://discourse.ladybug.tools/t/problem-with-creating-xml-file/5223 "2019-02-08T17:19:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![fazel.ganji](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/fazel.ganji/32/8392_2.png) [@fazel.ganji](https://discourse.ladybug.tools/u/fazel.ganji)\
**Post date:** [February 10, 2019, 8:42pm UTC](https://discourse.ladybug.tools/t/problem-with-creating-xml-file/5223/4 "2019-02-10T20:42:01Z")

</div>

Hi

> [@masoome](#):
>
> I have read somewhere that Window is inappropriate for creating XML file for new material with a defined characteristic.

I really don’t think so.

> [@masoome](#):
>
> I just have the material (glass) properties and geometry.

For glass layer you can use Optics together with Windows if you want to make a new material. But how to do it might be tricky. Keep in mind that this layer is still specular and doesn’t need any BSDF (xml format).  
For geometry, you should use radiance genBSDF, following the tutorial carefully.

Finally, as one conventional option, you need to combine them (glass+geometry) in 1 xml file to use in multi-phase simulation. This can be done again in windows by using your geometry data as shading layer. This is actually how I did for my curvy Venetian blinds in this project:

> [@A simulation-based framework for design and control a dynamic facade using Honeybee\[+\]](https://discourse.ladybug.tools/t/a-simulation-based-framework-for-design-and-control-a-dynamic-facade-using-honeybee/5111/1):
>
> Exploring the potential of the dynamic facade simulating daylight and energy performance of complex fenestration systems (venetian blinds)

check the workflow below:

 ![Modeling%20the%20CFS%2C%20Preparing%20the%20window%20model%20for%20TRNSYS](https://discourse.ladybug.tools/uploads/default/original/2X/0/0700dbe44be0480792bff9d40e64ef7aaa53dd38.jpeg)

---

_[View the full topic](https://discourse.ladybug.tools/t/problem-with-creating-xml-file/5223)._
