Export Stp file

Hi there, I have a problem about how to export Stp flie automaticlly.

I tried FileIO. FileStp.Write,
or run command like “-_Export " + “”” + filepath + “”" + " _Enter _Enter",
but they only work in grasshopper. when I called component in compute, there is nothing exported and I don’t know why, it really annoy me, could you please give me a favor? Thanks a lot!
ExportStp.gh (7.8 KB)

script in attachment

If you install the Lunchbox plugin (via the package manager), then you can use the Save Objects component to export your geometry as an .stp file.

Thanks a lot, I will try. Thanks for u kind answer again, Andy!