Version: 2017.2

Selection.activeContext

Switch to Manual
public static Object activeContext ;

Description

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