I am trying to bake objects pulled from Revit into Rhino, and I can’t find a solution outside of the Python custom script developed by RiR.
In Rhino 8 we have the Content Cache component.
Here is a getting started guide. Content Cache Updated Guide
Essentially you can bake Revit Elements straight to Rhino that will come in as blocks with their respective layers/materials.
For more particular workflows you can access the Revit Geometry and make a Gh Model Object to add specific information such as User Text or your own layer standard.
I see, I’ll give that a go.
On another note, I am trying to create a human UI botton to pick objects from the Revit view to then bring into grasshopper, any idea how to execute that?
It’s been yrs since i’ve worked with humanUI, i tend to run with minimal plugins for troubleshooting/testing purposes. There are a number of proficient HumanUI users on the forum though.
No problem, thanks a lot for your help!
When I follow your first workflow it’s baking the layers as you’ve shown it, but in the second example I am getting them all in one layer called ‘MyLayer’, so it’s not really working for me.
See example
I also wanted to ask if it’s possible to use elefront within this workflow so I can set the colours when baked and I also want to be able to lock the layer
Thanks a lot for your help so far!
What are your expectations?
This possible via the GH1, Elefront or Human baking components.
Actually I think I got what you were saying now, thanks!
Any chance you could tell me how I can control the layer properties for the ‘Main Layer’? I managed to use the Model layer component but that controlled just the sublayer
I think it works better if I separate the main layer and work on the sublayers separately. Thanks for your suggestion, I’ll do that.
On another note,
I noticed there’s a slight weird behaviour happening that when multiple Content Cache are se-up and are set to Push, as the user presses the button it can’t push all content in one go when I connected each to a separate button, then I tried a separate button for each content cache and that didn’t work either, it only allows for one content cache to work in one session it seems.
I have the action connected to a UI button, but I also tested this with a regular button from Grasshopper and it’s still doing the same behaviour
What works is the ‘bake’ setting within content cache, but this can be problommatic if we want the geomitry periodically updated. I’m not sure if I’m doing something wrong.
The way is currently set up overrides the content of cache with the previous one.
If you want to use same cache name for all the content you are pushing use one ‘Content Cache’ component and connect everything on it.
Or you can use four different cache names to keep each cache as a different bunch of content, in this case the Layer name for instance.
When I connected all to one, it didn’t pull all the content, so i separated them. They currently have different names, it’s pulling the type name of the object being pulled, which are all different
Actually all good, I did what you suggested, just chaged the name of the content cache and it maintained the type names as the layer name. Thanks so much!