Issue with Fly Component (Window Material)

Hello everyone!

I am testing different wall and glass materials using the Fly component, as shown in the first figure. As you can see, the glazing material is identified as "
WindowConstruction_c0a7d4d3, !- name" in the Panel component.

When I run the HB Model to OSM, the window material is read correctly.

When I connect the Fly ID component’s “Values” and insert the output from List Item component into the “name” input of the HB Window Construction component, the name changes according to my selection of type (referenced from the integer slider)—as shown in the figure below.

However, when running the HB Model to OSM, it gives a fatal warning with the following messages, as it now perceives the window material as “opaque.”

I don’t know how to fix this issue because it just happens when I use the Fly component with the HB Window Construction Material component.

Looking forward to your help! :slight_smile:

Hi @alaasaba, it’s hard to tell what might be going in. Can you share the script or a simplified version of the script with us to recreate the issue? Thanks.

Yeah sure, thank you for responding @mostapha!

Please find the attached sample file.
20241229 - MFPC Walls & Windows - Sample.gh (122.6 KB)

1 Like

Hi @alaasaba,

Thank you for sharing the script. You are using the slider values to set the values for both opaque and window constructions. That results in a situation with both constructions having the same name.

I used the concatenate component to rename the one for the window which solved the problem.

I suggest doing the same with the opaque construction. Here is the updated file for your reference.

20241229 - MFPC Walls & Windows - Sample.gh (129.3 KB)

2 Likes

It is working perfectly now on my script. Thank you so much!

1 Like