Exporting layers to After Effects?

Hello I need to export seperate layers of animation (preferably as png sequences) so that I can import them and add fx and compostie in after effects. Is there a script that can batch or automate this process?

any help would be appreciated because spliting over 100 scenes manually will be quite time consuming

thanks for any help
robb