Version: 2017.3

Selection.activeContext

Switch to Manual
public static Object activeContext ;

Description

Returns the current context object, as was set via SetActiveObjectWithContext.