×
Menu
Index

6.1.21 VEBody

Interface for a VE Body object.
 
Basic usage:
 
    project = iesve.VEProject.get_current_project()
    realmodel = project.models[0]
    bodies = realmodel.get_bodies(False)
    for body in bodies:
        area = body.get_areas()
        windowArea = area['ext_wall_glazed'] + area['int_wall_glazed']
        print('Body: {}.  Glazing area: {}.'.format(body.id, windowArea))