diff --git a/honeybee_radiance_folder/folder.py b/honeybee_radiance_folder/folder.py index eca7cb1..dca5510 100644 --- a/honeybee_radiance_folder/folder.py +++ b/honeybee_radiance_folder/folder.py @@ -519,6 +519,9 @@ def combined_receivers(self, folder='receivers', auto_mtx_path=True): folder: A path of the target folder to write files to (default: 'receivers'). auto_mtx_path: If set to True, then the path of the view matrices will be specified automatically. + Returns: + A dictionary containing grid identifiers as keys and the receiver rad files + as values. """ grids = self.grid_data_all() apt_group_folder = self.aperture_group_folder(full=False) diff --git a/honeybee_radiance_folder/folderutil.py b/honeybee_radiance_folder/folderutil.py index 76acf08..3dd4e71 100644 --- a/honeybee_radiance_folder/folderutil.py +++ b/honeybee_radiance_folder/folderutil.py @@ -425,6 +425,8 @@ def combined_receiver(grid_name, apt_group_folder, apt_groups, target_folder, target_folder: A path of the target folder to write files to. add_output_header: If set to True, a header will be added to redirect the generated view matrix to the path specified through the "o= .." option. + Returns: + The path of the file that was written out as the combined receiver. """ file_name = '%s..receiver.rad' % grid_name apt_group_folder = apt_group_folder.replace('\\', '/')