honeybee_doe2.reader module

Methods to read inp files to Honeybee.

honeybee_doe2.reader.command_dict_from_inp(inp_file_contents)[source]

Get a dictionary of INP commands and U-names from a INP file content string.

Parameters:

inp_file_contents – A text string of the complete contents of an INP file.

Returns:

A dictionary with all the DOE-2 attributes for each object converting keyword values to float when possible plus a “__line__” indicating its sequence in the file to be used to solve child/parent relationships {command: {u_name: {key: value, “__line__”: line_number}}}