How to delete the input objects after a macro runs?

I think this is basically what I want:

-grasshopperplayer “W:_Resource Library_Grasshopper Definitions\”

However the _selprev is giving me the output from GH, not the input curve I am trying to get rid of. I am trying to select 2 objects ago basically I guess.

Hi Ryan -
You can create a named selection between the pause and running GrasshopperPlayer. Then, when all is done, just get that named selection and delete it.

1 Like