Hey @AbrahamYezioro ,
This is very easy to do when just working with Honeybee Rooms. There’s a “HB Rooms by Floor Height” component that will group your honeybee rooms into a data tree by floor height:
You can use this to get all of the rooms of the first floor and then just assign a glazing ratio to theseRooms as you would in legacy and a program type using the “HB Apply Program Type” component:
However, it sounds like you want to do all of this assignment at a higher level of abstraction without leaving Dragonfly to go to Honeybee world. In Dragonfly, you can make use of the fact that there are Story objects to assign a set of properties to a whole Story instead of assigning them to individual rooms. This sample file on the dragonfly-grasshopper repo actually does the assignment of a different (retail) program type to the ground floor of the commercial buildings and it also sets a different glazing ratio for these ground floors. You can see that it starts by making the Dragonfly Building objects from solids and then deconstructs the building into its constituent stories.
Then it edits the individual stories and combines them back into a new Building. You won’t need to do the initial deconstruction of Buildings if you use the Rooms-to-Stories-to-Building workflow and you can just edit the properties of the Stories before you combine them into buildings.