Sample Code Revit Batch Processor 1.1.15 documentation

Contents:

This Page

duHast.Revit.ColourFillSchemes.Objects package

Submodules

duHast.Revit.ColourFillSchemes.Objects.colour_fill_storage module

class duHast.Revit.ColourFillSchemes.Objects.colour_fill_storage.ColourFillStorage

Bases: Base

A class to store colour fill information for objects.

Class constructor

import_from_data_row(data_row)

Imports data from a data row into the ColourFillStorage object.

Parameters:

data_row (list) – The data row to import from.

Raises:
  • TypeError – If data_row is not a list.

  • ValueError – If data_row does not have the correct number of elements.

  • TypeError – If data_row is not a list of strings.

Returns:

None

Return type:

None

get_report_headers()

Returns the headers for the report.

Returns:

A list of headers.

Return type:

list

get_report_data()

Returns the data for the report.

Returns:

A list of data.

Return type:

list

Module contents