Bake automatically in G.H and export as .igs file from Rhino automatically

Hi all,

I have made a model using G.H and I am trying to bake it and export (from rhino) as .igs file automatically all.

Since I am trying to establish an automatic process,

Q1. What component I should use in G.H to bake the model automatically
Q2. How python script should be written to export the model as .igs file automatically?

Thank you in advance.