Version: 2017.1

Selection.activeContext

Switch to Manual
public static Object activeContext ;

Description

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