I am trying to get the top surface pattern from the Material in Revit, on a floor element and reconstructing it as Rhino Curve. the problem is that this pattern has been adjusted manually, and Revit gives me the initial pattern. any Ideas ?
That is a tricky one, most export to .dwg to get that linework.
What version of Revit / Rhino are you working in?
i am working on Revit 2025.4 and Rhino 8 SR21
exporting DWG is not a sustainable solution for my workflow. as rooms changes at this stage of the project.
Hi @pixypk, apologies for the late reply.
As @japhy mentioned, this is a tricky one. I had not dealt with this exact case before, so I had to check how Revit surface hatches work.
Currently, Revit does not expose a direct API to extract the adjusted hatch curves as geometry. However, I was able to run a few tests using the available information.
Here is a quick test I made. If this is what you are looking for, I can share the cleaned up code.
But I am not confident if it will work in every case.
hi , please this would be amazing. i can compare it with mine.
Done…!
@pixypk Can you send me the sample file. Just one element with this hatch. I will look into it
Projekt1.rvt (13.4 MB)
hey did the Revit model work?
@pixypk I dont see an issue. Am I missing something?
exactly, from my revit screenshot you will see the first (right to left) section on X should be 20 not 60 .
Can you realign and run the script again?
Can you adjust the lines in revit and then test it? I mean what if you adjust the lines rather than just measuring the results from the initial run.
i did adjust the line - then re-compute - and check the result!
i have no idea why i am not getting the same results.
@pixypk I assume you are picking the wrong reference while creating the dimensions in rhino.






