×
Menu
Index

6.1.14.2 Methods Defined Here

 
assign_construction (construction, surface)
    Assign construction to surface.
 
assign_opening_type (surface_index, macroflo_id, opening_index)
Assign macroflo opening type to opening.
 
get_areas () -> {areas}
Returns a dict of areas (and volume) for this space.
 
The following areas are returned (All areas are returned in m2 units.  Room volume is returned in m3):
 
int_floor_area
ext_floor_area
int_floor_opening
ext_floor_opening
int_floor_glazed
ext_floor_glazed
 
 
int_ceiling_area
ext_ceiling_area
int_ceiling_opening
ext_ceiling_opening
int_ceiling_glazed
ext_ceiling_glazed
int_ceiling_door
ext_ceiling_door
int_wall_area
ext_wall_area
int_wall_opening
ext_wall_opening
int_wall_glazed
ext_wall_glazed
int_wall_door
ext_wall_door
 
get_assigned_constructions () -> [(construction ID, '')]
Returns a list of tuples containing construction IDs assigned to this space.  The second element in the tuple is currently unused.
 
get_assigned_profiles () -> [(profile ID, '')]
Returns a list of tuples containing profile IDs in use by this space.  The second element in the tuple is currently unused.
 
get_index ()
    Get the index of the body
 
get_surfaces () -> [surfaces]
Returns a list of VESurface objects that bound this space.
 
get_room_data (type = 0) -> VERoomData object
Args:
type (int): 0 to get default data, 1 for NCM data, 2 for PRM data
 
Returns a VERoomData object for closer inspection of data assigned to this room. The returned data depends on the input type: the default type of 0 gives the default data for the room, but NCM- and PRM-specific data can be requested (but only for NCM- and PRM-building variants respectively).
 
select ()
Selects this body. Perform operations on the selected body using the VEGeometry API.