Skip to content

Revit 2015 to 2023: family instances' materials: 70 windows and 14 railings lack Revit's, the default material is written on 72 elements Revit gives none (Vitoria) #1603

Open

Description

@DrunkOnJava

What

On Vitoria's ALD26 Before (Revit 2018, CC BY 4.0, spent; Revit's own IFC2X3 export beside it), 1,314 elements pair by Tag. rvt-rs at b969296e (counts by IFC class, no names):

  • Revit gives a material, rvt-rs none: 70 windows (sets of 3 to 5 materials: glazing, frame, blind, cladding, and an unnamed one), 14 railings (2 materials each), 8 walls and 2 roofs (layer sets), 6 stair flights, 2 doors, 2 slabs (the unnamed material), and the 67 plates (research(curtain): a panel of Revit 2015 to 2023 has no material; read the one Revit gives (follow-up of #1520, RE-367) #1593, the Curtain Panels category's material, RE-377).
  • rvt-rs gives a material, Revit none: 64 doors and 8 building element proxies (the file's Por defecto, its default material, which has the small ElementId 24), and 4 roofs (a generic material).
  • Same set on both: 375 elements.

The windows and railings are a family type's geometry-material map (RE-82, RE-203) on a release whose reader (type_material_names_32) misses these families; the 2023 saves of Autodesk's rac_basic lack the same classes against its 2024 save (proxies 18, furniture 15, light fixtures 10, sanitary terminals 7, walls 7, system furniture 3, after #1520's mullions and #1602's plates). The default material on doors and proxies is the question the other way: Revit's export may treat the default material as no material, as it treats a type with no material.

To do

  1. Find, per class, where Revit's export takes the window, railing, stair flight and wall materials from on a 2015 to 2023 save (the type's map by name through the native record, as native_type_materials does on 2024 and later; the instance's parameters, RE-200), with a probe on the spent pair and a same-project check against the 2024 save of Autodesk's samples.
  2. Decide the default-material rule from Revit's export: whether a family instance whose only material is the project's default one gets none.
  3. A rule per class that is never wrong on ALD26 Before and ALD26 Project, rac_advanced (three.js export, counts) and the 2024 saves; what it leaves out is reported.

Done when

element_materials_vs_ifc.py finds none of these classes missing or extra on the two Vitoria files, or each stays out with a measured reason.

Part of #1190.

Activity

  1. added
    area:elements
    area:ifc
    priority:P2
    type:feature
    on Nov 9, 2026
  2. 69 remaining items

  3. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    RE-485, read: before Revit 2024 <Unnamed> is constant within each of the spent Revit 2018 project's 7 window families, the one project where any family writes it; the other projects' families all write none. Which families is not read yet, and RE-487's rows are registered below before its run.

    Measure 43714791546 at fa38cbf5 (84 models), report on #2062. Against the six rows of comment 6894163538:

    1. Type. None of 119 drawn symbols is mixed on any pre-2024 project (the other projects' 63 are all "none"). On the spent Revit 2018 project, 43 of its 56 symbols have <Unnamed> on all their windows and 13 on none; most symbols hold one window, so this alone does not rule out the instance.
    2. Family. None of 16 families is mixed, but that says little outside the spent project. Its 7 window families: written on every window of 3 (36, 8 and 8 windows, 52 in all) and on none of 4 (7, 4, 4 and 1, 16 in all). Every other pre-2024 family, in Frigento (Revit 2020), Warmond (Revit 2021, preprocessed, counted apart) and BIM Whale (Revit 2021, IFC2X3, counted apart), writes it on none of its 363 doors and windows, so those 9 families add no evidence of constancy: that the family decides it rests on the spent project's 7 families.
    3. The 15 windows of RE-483 with identical host-form facts are two families: 8 windows of one (33 geometry tags in the type map) all written, 7 of another (13 tags) none. So the instance does not decide it.
    4. Nested instances. No separation: all shown, none bound, is written on 52 of 64 spent windows and on none of 54 of Warmond's. No nested instance is hidden by its stored Visible on any pre-2024 project.
    5. Unset tags. No separation: 2 unset is written on 41 of 42 spent windows and on none of 45 elsewhere; 3 or more on 11 of 26 and none of 317. Inside one family the count varies and the result does not. No rule is proposed.
    6. Nothing moves. No src/ change.

    One thing in the spent project's lines that the scorer does not count elsewhere: the type map's total geometry tags follow the families (33 tags: 8 of 8 written; 21: 44 of 45; 13: 0 of 15). One window breaks it, so it is a lead and not a rule.

    RE-487 rows, registered before any run. Two reads, in one Measure on the same projects (counts only for held-out ones):

    1. Total tags, every project. The elements by the type map's total number of geometry tags, written / not written, per project and class. If any other pre-2024 family with 21 or more tags writes <Unnamed> on none of its windows, the lead is a coincidence of the spent project's seven families and is dropped. Reported.
    2. The nested instances' own types. Each nested instance of the host family names a type in the host family's document; for it, whether its map holds geometry mapped to no material, and how many tags. The elements by whether any nested type's map holds one, written / not written, per project. Reported.
    3. A rule is proposed only if it is right on every element of every pre-2024 project; the total-tags lead already has one counter-example in the spent project, so it is not one by itself. Anything less is reported and stays unwritten, and with RE-487 this question is closed for Revit 2015 to 2023 (experimental before 1.0) unless a read finds a family fact that separates all 16.
    4. Nothing moves. No src/ change.

    Corrected after rvtDevelop's read of #2062: the first version said the family decides it on every project; outside the spent project every family writes none, so it only holds on the 7 families of one.

    https://claude.ai/code/session_01TFTgj3B39AgPT5E6mwwWTQ

  4. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    RE-487, read: neither the type map's total geometry tags nor the maps of the types a family's nested instances draw say which Revit 2015 to 2023 families write <Unnamed>. Nothing is written; the question stays closed for the facts read until a new read or a new project separates the families.

    Measure 43716973206 at 7f2a2412 (84 models), report on #2064. Against the four rows of comment 6894610678:

    1. Total tags, every project. The lead of RE-485 drops. Spent Revit 2018 windows: 13 tags, 0 of 15 written; 21 tags, 44 of 45; 33 tags, 8 of 8. The one 21-tag window that is not written is the whole of family 1665347, beside two 21-tag families that write it on all 44 of their windows. Outside the spent project, 317 doors and windows hold 21 to 81 tags (6 totals: Warmond's 44 and BIM Whale's 273, both counted apart) and write it on none. Frigento, the one unmodified Revit IFC4 sample, holds 3 and 7 tags, so it neither supports nor refutes the total.
    2. The nested instances' own types. No separation. All 68 spent windows, and all 341 doors and windows of Warmond and BIM Whale, nest an instance whose type's map holds an unset tag: written on 52 of the 68 and on none of the 341. The 3 written families and 3 of the 4 not-written ones hold the same state (one nested instance with an unset tag); the fourth nests three. Every nested type's map was read (325 of 325 on the 44 pre-2024 models).
    3. A rule. None. No fact read of a pre-2024 door or window's family (forms, their stored and bound Visible, voids, nested instances and the maps of their types, unset and total tags) separates the 16 families.
    4. Nothing moves. No src/ change.

    Every family that writes it is on one project, the Revit 2018 IFC2X3 export, so whether its release or schema is what writes it cannot be told from these files. Not read: the nested families' own forms and materials, and the family's category and subcategory settings (the object-style material RE-481 names). A second pre-2024 project whose families write <Unnamed>, above all an unmodified Revit IFC4 export, would reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementsarea:ifcpriority:P2type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions