Now, if I bake the ViewEles node, I get the elements that were visible in the view with textures and materials intact (but only if they are using a Generic appearance schema in their Revit material). Unfortunately the elements are not sectioned by the section box of the Revit view.
If I bake the ViewGeom node, the geometry of the elements is correctly sectioned by the section box, but I no longer get the materials.
Is there any way to get the view-specific-geometry (e.g. sliced by the section box) while also keeping the materials?
Thanks for the quick reply Kike! Is there a way to place the clipping places through grashopper? Or perhaps would it be possible to do boolean difference using grashopper using 6 boxes (one for each side of the section box?).
Yes, at some point they will needed to get baked. In a lot of our examples we use Elefront 4.3 bake component. This will insert into Rhino as blocks and give you the ability to assign a bakename, which replaces any previously baked objects with the same name.
Thank you! I have a couple of follow up questions if you’ll allow me
In your example it looks like the materials remain intact. What are you connecting as input to the G(eometry) input on the Elefront node? A Revit ElementNode? If so, does that mean there’s some casting happening in the background that knows to extract the geometry from Element node?
Is there a way to extract the geometry with materials from a Revit ElementNode? The material part is critical for my workflow.
Until recently, didn’t realize that ElementNodes could be baked directly (I thought you had to extract the geometry first, which seemed to remove the materials). I was wondering if there are other (revit) nodes that allow for direct baking like that, or is it just the ElementNodes and Geometry nodes?
When you say ‘Element Preview skips all subcat/param’, does that mean it ‘evaluates’ the geometry what the ‘final’ material is in Revit and use that?
I’m trying to develop a script that works on any model that we receive, so we have no control over how materials are applied. It could be using categories/subcategories or material parameters or even painted.