ball.groupmap
Syntax
- m = ball.groupmap(s<,slot>)
Get balls that belong to a group. A map is returned where the keys are the ball ID numbers and the values are the ball pointers. The arguments s and slot may be specified as strings or indices*. If slot is not specified, then all slots are queried.
Returns: m - map
Arguments: s - group name or index*
slot - slot name or index*
Note
*Use the
group.find
andgroup.find.slot
intrinsics to obtain group and slot indices, respectively, and for further information.Use of the group logic is described in Groups.
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |