Importing into a .step file in a Rhino doc on with Rhino Compute

Hi Rhino community,

I’m trying to programmatically import a .step file with a c# component in a grasshopper script.

I want to eventually use this with rhino compute for a larger workflow.

When I test the grasshopper script locally with hops, I cannot seem to run the import, and I don’t know why.

Does it somehow have to do with the doc I’m creating when I run it through hops, or the RhinoApp.Runscript call?

Can someone help?

Thanks in advance!

Jeroen (18.4 KB)