ball.thermal.contactnum

Syntax

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

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

Returns:

ir - active contact number

Arguments:

bt - thermal ball pointer

i - optional unique piece type identification integer