On the other hand, I m able to edit materials and finishes section for the object. However, when I assign a different material for frame/louvre, it doesnt help at all.
This is a good question for @ksobon! I know that if you can apply different materials to different parts then they will be added to the dropdown, and you can filter them but I’m not sure how to do that.
Just an update on the same topic. Apparently, when we are not able to separate frame parts of the aperture in Revit plug-in, the entire window area could differ by 10-15% depending on the actual frame factor. As a result, this would make an impact on the results for daylight and energy simulations.
Hi @hlkocalioglu - thank you for posting it here. Let’s see what @ksobon thinks about this. If we can’t resolve the case in Revit, we should be able to provide a command in Rhino to offset the apertures inwards to account for the frame’s thickness.
@mostapha@hlkocalioglu Here’s a video I made that explains how the materials work and what are your other options to exclude the frames if you don’t have control over the materials or they are instance parameters which we ignore.
Hi @ksobon - The video is great. Is there a reference that you can direct me to that shows how to apply different materials to the type? Is it possible to do that for the Single WIndow that you showed in the model? Similar to editing the visibility?
I would think that is a better solution than using visibility. One can edit the family type, add the materials, and that should solve the problem of using it with Pollination while keeping the visualization as expected.
@ksobon - I thought about what you mentioned about instances and not knowing which material layer(s) to pick for the menu but then you quickly picked the right material when you saw the name in the model. What if we add an additional filtering based on the name that the user can provide? That’s an easy one to identify and doesn’t need to change the visibility or the materials. For instance, in the case of the sample model, I know I want the material that is named Glass.
And I have seen several models that use Glass_visible and Glass_spandrel for instance. In that case, I want to pick the materials that includeglass and ignore the ones that includespandrel. What if we add these as two columns so that the user can input these values as a comma-separated list? They can be two additional columns.
Then if include or exclude are provided you can do something like this. Otherwise, we parse everything that is selected.
for material in materials:
for keyword in include:
if keyword not in material:
continue
for keyword in exclude:
if keyword in material:
continue
# process this material for an aperture
...
I think this approach is a better approach because:
It is easy to see the list of materials and find the correct one.
It doesn’t need advanced Revit knowledge to edit stuff in Revit.
More importantly, you can use the Revit model as is without making a change in the model.