Hello大家好!我是九哥~
今天来讲一个小技巧,就是我通常采用RIR将Revit的模型的Geometry Bake到Rhino,肯定是没有材质的,那么如果我们需要带材质那要怎么办呢?
对于会的人,其实挺简单的,只需要通过一个package就可以------"Elefront",这个包里呢,有关于Bake的节点,同时也支持在Bake的同时,对Geometry赋予材质,如下图:

首先呢,我们选择需要Bake的Revit图元,用Graphical Element节点,直接点选框选都行。
然后就分别获取图元的Geometry和Materials,这两个就是我们要同时Bake的内容。
之后我们得到Elefront节点包下,找到06 Bake分组下的Bake Objects节点,如下图:

再到02 Attributes分组下找到Define Object Attributes节点:

最后,依次连线就好了:

特别提示,程序在运行的时候呢,需要分三步走,才能Bake Geometry的同时赋予材质。
1、先在Element Materials电池上右键,将获取到的图元材质Bake到Rhino中

2、然后将材质名称交给Define Object Attributes电池,
3、最后点击Bake Objects的Activate按钮,完成Bake。

到这里,就实现了我们想要的带带材质Bake图元到Rhino中。
好了,今天的教程就到这里,小伙伴们快去尝试吧~