Speckle Compute Units

Hi all,

I am having trouble with speckle compute, where I am trying to send some geometry in a headless environment in meters but am getting it in millimeters. I had the same problem last year when I started with this process but got it fixed using a Python component in the grasshopper script running on compute.

Here is the image of the way I am doing it and the code within the Python script.

Here is a link to a commit that was sent via a headless run and the units are in mm.


So I want to change it so the units are in meters, else it’s very difficult to import the geometry into Revit or other software.


If the solution you have is working, what are you asking for help with?

Is it that we should add a node to specifically change or specify Revit.Units?

1 Like

Hi Jonathan,

I think I might have not explained properly, the solution or workflow I have right now, USED to work when I first did it and worked for a long time up until recently.

Now it doesn’t work and I am unable to set the units to METERS and it’s coming out in the speckle stream as MILLIMETERS.


1 Like

Hi @jonathon,

Is there a fix for this? Or am I doing something wrong?


@jonathon @AlanRynne

Need a follow up on this please, looking for a solution.