utils.results_table_utils

Classes

ResultsTableMixin

Mixin class for creating a results table for the RANO module.

Module Contents

class utils.results_table_utils.ResultsTableMixin[source]

Mixin class for creating a results table for the RANO module.

static calculate_results_table(lineNodePairs)[source]

Calculate the results table for the RANO module. This function calculates the perpendicular product and volume for each line pair and adds the results to a table.

Parameters:

lineNodePairs – List of line node pairs for the RANO module.

static present_table(table_dict, delete_existing=False)[source]

Present a table in the table view. This function creates a table node in the scene and adds the columns and values to the table. It also shows the table in the view layout.

Parameters:
  • table_dict (dict) – Dictionary containing the table data.

  • delete_existing (bool) – If True, delete existing table node with the same name.