honeybee_iesve.types module

Enumeration-style container for different object types in GEM.

class honeybee_iesve.types.GEM_TYPES[source]

Bases: object

Enumeration-style container for different object types in GEM.

There is no public documentation for GEM files but here is our understanding based on the sample files.

| object | CATEGORY | TYPE | SUBTYPE | LAYER | COLOR | COL-RGB | KEYWORD |

Rooms/Spaces | 1 | 1 | 2001 | 1 | 0 | 16711680 | IES |
UnCond Space | 1 | 1 | 2002 | 1 | 0 | 16711680 | IES |
Trans Shades | 1 | 1 | 2102 | 64 | 0 | 0 | IES |
Nghbr Bldg | 1 | 2 | 0 | 62 | 0 | 16711935 | IES |
PV | 3 | 202 | 0 | 1 | 0 | 32767 | PVP |
Tree | 1 | 3 | 0 | 65 | 0 | 2399294 | LAN |
Topography | 1 | 3 | 0 | 63 | 0 | 38400 | IES |
Local Shades | 1 | 4 | 0 | 64 | 62 | 65280 | IES |
Local Shades | 1 | 4 | 2101 | 66 | 1 | 65280 | IES |
classmethod from_info(category, type_, subtype, keyword)[source]

Initialize type from GEM info.

classmethod from_user_data(user_data)[source]

Get type from user_data.

ContextBuilding = <GEM_TYPES.ContextBuilding: '1-002-0000-62-00-16711935-IES'>
PV = <GEM_TYPES.PV: '3-202-0000-01-00-32767-PVP'>
Shade = <GEM_TYPES.Shade: '1-004-0000-64-62-65280-IES'>
Shade_2 = <GEM_TYPES.Shade_2: '1-004-2101-66-01-65280-IES'>
Space = <GEM_TYPES.Space: '1-001-2001-01-00-16711680-IES'>
Topography = <GEM_TYPES.Topography: '1-003-0000-63-00-38400-IES'>
TranslucentShade = <GEM_TYPES.TranslucentShade: '1-001-2102-64-00-0-IES'>
Tree = <GEM_TYPES.Tree: '1-003-0000-65-00-2399294-LAN'>
UnconditionedSpace = <GEM_TYPES.UnconditionedSpace: '1-001-2002-01-00-16711680-IES'>