Assign layer or material for grasshopper stype VA window

Hi,

I have created a Grasshopperstyle for a VA Window. Is there a possibility to assign the glass to a layer ?

fenêtre01.gh (40.9 KB)

Regards, Simon

Hi Simon,
Yes, you can assign a material to each one of the components you have defined in the GH file, after you create the VisuaLARQ style:

Perfect. Thank you very much.

Second question: is there a possibility to control the horizontal position of the window? For example 20 cm from the outside.

Yes, you can obtain the host (wall) thickness of the opening in the Grasshopper definition using this formula %<this.host.thickness>%, and use it to align the window as you desire. You can take a look at this example in the GH styles tutorials: https://www.visualarq.com/learn/grasshopper-styles/doors-windows/