Skip to main content
Version: V2 (Ignition 8.1)

system.mes.location.getAllLocationPathsWithShifts

Description​

Deprecated

This method is deprecated. Use system.mes.shift.getAllLocationPathsWithShifts() instead, which also supports an optional path prefix filter.

Description​

Retrieves all Location paths for locations that have associated Shifts.

Syntax​

system.mes.location.getAllLocationPathsWithShifts()

Parameters​

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

Returns​

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

Code Examples​

# Deprecated - use system.mes.shift.getAllLocationPathsWithShifts() instead
paths = system.mes.location.getAllLocationPathsWithShifts()
print(paths)