Sepasoft MES Module Suite
Description
Return the number of units that exist for the specified parent and search pattern.
getCount(parentLink, searchPattern) → int
Syntax
getCount(parentLink, searchPattern)
- Parameters
MESObjectLink parentLink - The link to the process cell object to return the child count. If None is provided for this parameter, then it will return the child count for the first process cell object.
String searchPattern - A case-insensitive search pattern to filter the return count. This string must be contained in the object name. An empty string will apply no filtering.
- Returns
The number of unit objects
- Scope
All
Sepasoft MES Module Suite