contact.num.all

Syntax

i = contact.num.all(<s>)

Return the number of contacts, including inactive ones. The optional argument allows filtering with a contact class name (e.g., mechanical) or a contact type name (e.g., ball-ball). By default, the mechanical contact list is considered.

Returns:i - number of contacts (including inactive ones)
Arguments:s - optional contact type name or contact type name