A question about external access

I want to write a vbs script to create geometry without displaying the interface, but how can I output the geometry as a. 3DM file

Please check GitHub - mcneel/compute.rhino3d: REST geometry server based on RhinoCommon and headless Rhino
There are many posts about it in the forum.

You won’t be able to work with VBS though - C#, Python or JS work afaik

Even if vbscript won’t work, if C# works so should Visual Basic. Just in case C# is too big a jump for mothbill. VB is very similar to vbscript,

See this document for launching Rhino from a vbs script:
https://developer.rhino3d.com/api/rhinoscript/introduction/external_access.htm

I have read the document and wrote a script that will generate a spoon model.Now the question I face is how can I output the spoon model

Script either the Save or Export command using Rhino.Command.

– Dale