Export SVG without dialog

I know this question has been asked before but after reading through the answers I’m still haven’t found a solution.

I am trying to export all rhino geometry as an SVG through grasshopper. I am using the rhCOM component. Is there any way to suppress the dialog box without using rhino script? If not could someone point me to an explanation of how to do this using rhino script?

I am also looking for a way to specify which layers to export through the command line.

thanks