Python APIs for 3D Horizon Layer Contextual Actions