Skip to main content
Version: V2 (Ignition 8.1)

tamaki.mes.utils.printCurrentScope

Description​

A diagnostic helper that prints the current execution scope. It inspects the Ignition ApplicationScope and prints Client Scope, Designer Scope, Gateway Scope, or Perspective Scope accordingly; if the scope cannot be determined it prints Python Scope.

Syntax​

tamaki.mes.utils.printCurrentScope()

Parameters​

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

Returns​

This method does not return a value. It prints the current scope as a side effect.

Code Examples​

tamaki.mes.utils.printCurrentScope()
# Perspective Scope