group.find.slot
Syntax
- i = group.find.slot(s)
Get a slot index associated with a slot name. Note that a slot index will be created if one does not exist already. Also note that there is a limit of 128 distinct slots in a given model.
The slot index can be used in most places a slot name is taken. For example with the
zone.group
orzone.isgroup
functions. This removes string comparison and lookup from the operation and is therefore faster to execute.Returns: i - the slot index associated with s Arguments: s - the name string of a slot
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 23, 2021 |