Open existing file with Rhino Compute

Is it possible to open an existing file with Rhino Compute (C#) and assign it to a Rhino.FileIO.File3dm class?

Thanks!

Hi @ismael.sanzgo,

Rhino.Compute is documentless. That is, you’ll want to open 3dm documents using Rhino3dm (using Python, JavaScript, or .NET). When you need functionality not included in Rhino3dm, then you’ll make calls to a Compute server.

Does this help?

– Dale

You can directly open files with Rhino.FileIO.File3dm

1 Like

Thanks Steve and Dale,

Rhino.FileIO.File3dm.Read is what I was looking for.

Regards!

Hi all.

i want get file from my PC and sent to RhinoCompite.
it is impossible?
how i can open .3dm file using rhino3dm.js ?
I found only FileReference class…

Summary
rhino3dm().then(async (rh) => {
   
    // brep = new rh.Sphere([0, 0, 0], 5).toBrep();
    brep = "how get brep from file?";
    

    try {
        r = await compute.AreaMassProperties.compute5(brep, false);
        
    } catch (err) {
        
    }
});