Skip to main content

system.mes.oee.getAllLocationPathsWithOee

Description

Retrieves all Location paths for locations that have associated OEE Configurations, OEE States, or OEE Modes. Optionally filters by a path prefix.

Syntax

system.mes.oee.getAllLocationPathsWithOee()
system.mes.oee.getAllLocationPathsWithOee(pathPrefix)

Parameters

Method 1: No Parameters

ParameterTypeNullableDescription
None--This method does not take any parameters.

Method 2: With Path Prefix

ParameterTypeNullableDescription
pathPrefixStringFalseThe path prefix to filter locations by.

Returns

Returns a list of strings representing location paths that have associated OEE.

Code Examples

# Retrieve all location paths with OEE
oeePaths = system.mes.oee.getAllLocationPathsWithOee()
print(oeePaths)

# Retrieve only OEE location paths under a specific branch
filteredPaths = system.mes.oee.getAllLocationPathsWithOee('DairyCo/Plant1/')
print(filteredPaths)