contact method command

Syntax

contact <sprocess> method sm <sa a> ... <range>

Calls a contact method. The method sm along with its specific list of pairs of argument names and values (sa, a) (if applicable) is invoked for the contacts in range.

Note that a may refer to a FISH function. In this case, the function must take at least one argument which will be filled with the contact pointer. If the function takes multiple arguments, then the first argument will be filled with the contact pointer, and a must be followed by the remaining arguments of the function.

By default, only mechanical contacts are considered. If sprocess is specified, then it must correspond to a process name, and contacts within this process are considered.