Export solid from corridor's

I new in dynamo, then pls little help ;).
I want to create some script that final result:

  1. Take specific corridor’s by name
  2. take all solid form this corridor’s
    3, export this solid to another file
  3. before it will be epxorted to this file (3) dynamo open this file and clean all.
  4. Then exported new solid

or just how to watch my all solid just in dynamo Civil 2021 ver.