honeybee_plus.radiance.radparser module

A collection of auxiliary funtions for working with radiance files and objects.

honeybee_plus.radiance.radparser.parse_from_file(file_path)[source]

Parse Radiance file and return a list of radiance objects as separate strings.

Parameters

file_path – Path to Radiance file

Returns

A list of strings. Each string represents a different Radiance Object

Usage:

get_radiance_objects_from_file(“C:/ladybug/21MAR900/imageBasedSimulation/21MAR900.rad”)

honeybee_plus.radiance.radparser.parse_from_string(full_string)[source]

separate a Radiance file string into multiple strings for each object.

Parameters

rad_fileString – Radiance data as a single string. The string can be multiline.

Returns

A list of strings. Each string represents a different Radiance Object