group.find
Syntax
- ind = group.find(s)
Get the group index associated with a group name. Note that a group with the name s will be created if one does not exist already (and the index to it is returned).
In other functions, optionally, a group index may be used instead of a string as an argument or assignment value (e.g., the
zone.group
orzone.isgroup
functions). An index does not require string comparison and lookup and is therefore faster to execute.Returns: i - the group index associated with s Arguments: s - the group name
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |