Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Geometry.Exceptions package

Submodules

duHast.Geometry.Exceptions.incompatible_matrix_dimension module

A matrix exception class.

This is raised when matrix manipulation is attempted with two matrices of different dimension

exception duHast.Geometry.Exceptions.incompatible_matrix_dimension.IncompatibleMatrixDimensions(message, matrix)

Bases: Exception

Exception raised when, in a matrix operation, one matrix is incompatible in terms of its dimensions to the other.

Parameters:
  • message (str) – The exception message text.

  • matrix (Matrix) – The other, incompatible, matrix

duHast.Geometry.Exceptions.incompatible_vector_dimension module

A vector exception class.

This is raised when vector manipulation is attempted with two vectors of different length (dimension)

exception duHast.Geometry.Exceptions.incompatible_vector_dimension.IncompatibleVectorDimensions(message, vector)

Bases: Exception

This is raised when vector manipulation is attempted with two vectors of different length (dimension).

:param message:The exception message text. :type message: str :param vector: The other, incompatible, vector. :type vector: VectorBase

Module contents