Dear Forumers!
I tried to control the material of elements by setting its Structural Material to <By Category> and then setting the actual material of the (sub)category in Object styles > Materials. The Material parameter of the family is associated to Structural Material in the family editor.
Then when I made material takeoffs I noticed something:
After changing the Material in the object styles dialog, Revit changes the elements' material but the elements with the old material remains in the list.
Actually it doubles the quantity of the these elements.
Take-off is refreshed if I set the elements' material from <By Category> to some 'real' material, apply and then switch back to ByCat. This method works for every category, but e.g. changing the geometry works in case of beams but not for structural columns.
I attached two project file with a few elements in them. Some installed with revit, some own made (TT beam). Saved after the material changed, but the list is not refreshed.
In 'Material Takeoff Issue 2018 a.rvt' this problem is true for M_Concrete-Rectangular Beam and columns (OOTB, not modified), but not for TT beam. This file was created with Revit 2016 from OOTB structural template and updated to 2018. The TT beam was loaded from ver. 'b' (Select beam > Edit Family then Load).
In 'Material Takeoff Issue 2018 b.rvt' this problem is true only for the TT beam. The others are family types installed with Revit (and modified a bit). This file was created with Revit 2018 from own structural template.
Try to sum up:
file OOTB beam OOTB beam TT Columns
(modified)
---------------------------------------------------------------------
ver a -- WRONG OK WRONG
ver b OK -- WRONG (not tried)
Revit version: 2018.3.1
OS.: Windows 10
We opened these files on my colleague's computer, and the result is the same. Setting the Structural Material to 'real' material works fine. This problem happens only if we use <By Category>, and it's true for other categories not just framing.
Thanks in advance!