Sepasoft MES Module Suite
Description
Return the number of unit class object exist for the specified parent and search pattern.
getCount(parentLink, searchPattern) → int
Syntax
getCount(parentLink, searchPattern)
- Parameters
MESObjectLink parentLink - The link to the unit class object to return the child count. If None is provided for this parameter, then it will return the child count of the BatchRootUnitClass object.
String searchPattern - An optional search pattern to filter the return count by. It can contain * and ? wildcard characters. Example: Mixer *
- Returns
The number of unit class objects
- Scope
All
Sepasoft MES Module Suite