rblock.contactnum

Syntax

ir = rblock.contactnum(p<,i>)

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

Returns:

ir - active contact number

Arguments:

p - rigid block pointer

i - optional unique contact type identification integer