contact.num
Syntax
- i = contact.num(<s>)
Return the number of active contacts. 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 active contacts Arguments: s - optional contact type name or contact type name
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |