How to get opening type (door, window, hole) from opening (VEgeometry object)
Posted: Wed Nov 14, 2018 6:04 pm
Hi,
I have been using Python within IES and I was wondering if it is possible to get the opening type (window, door, hole) from the opening VEgeometry object.
I have been carrying out the following procedure.
1- I got the list of VESurfaces for the selected rooms using body.get_surfaces()
2- I got the list of VEGeometry openings for each surface using surface.get_openings()
So now, I have a list of openings as VEGeometry objects and I would like to get the type (window, door, hole) for each one, is it possible?
The guide says that the surface.type would give me one of the following as result: floor, ceiling, ext_wall, int_glazing, ext_glazing, etc.
But since one surface can host multiple openings and an opening is a VEgeometry object and not a VEsurface object I can't see how.
Is there any other way to get the opening type?
I understand I can find out how many windows or doors etc belong to a surface using get_opening_totals() but I want to get the type for the specific opening.
Many thanks for your help
I have been using Python within IES and I was wondering if it is possible to get the opening type (window, door, hole) from the opening VEgeometry object.
I have been carrying out the following procedure.
1- I got the list of VESurfaces for the selected rooms using body.get_surfaces()
2- I got the list of VEGeometry openings for each surface using surface.get_openings()
So now, I have a list of openings as VEGeometry objects and I would like to get the type (window, door, hole) for each one, is it possible?
The guide says that the surface.type would give me one of the following as result: floor, ceiling, ext_wall, int_glazing, ext_glazing, etc.
But since one surface can host multiple openings and an opening is a VEgeometry object and not a VEsurface object I can't see how.
Is there any other way to get the opening type?
I understand I can find out how many windows or doors etc belong to a surface using get_opening_totals() but I want to get the type for the specific opening.
Many thanks for your help