rblock.thermal.contactnum

Syntax

ir = rblock.thermal.contactnum(bt<,i>)

Get number of active thermal contacts around a thermal rblock. The optional argument enables filtering by contacting piece type.

Returns:

ir - active contact number

Arguments:

bt - thermal rigid block pointer

i - optional unique piece type identification integer