Using GH Player to export all objects on selected layers


I’m using Human and Elefront to filter all BREPs on layers with the goal of using Grasshopper Player to export individual .3dm files.

This script works outside of the ‘player’ mode, but then it’s hooked up using GH player it’s writing the files properly but with no content (0KB). Should I be using a Data Dam or other to control flow?

Any suggestions would be appreciated.