Skip to content

View graphic overrides: the classes are in the file's schema, no instance is located, and Revit's IFC export gives no oracle #1973

Open

Description

@DrunkOnJava

Asked by zenglanmu on #1812: a Revit view can override the transparency of certain elements, or of the elements a view filter picks, in that view alone. Does rvt-rs read it?

Status. Not read. The view-graphics-overrides row of docs/support-matrix.json is unsupported. Not scheduled.

What the file declares (measured: rvt-schema from the 0.22.0 release on 2024_Core_Interior.rvt, the MIT sample of magnetar-io/revit-test-datasets):

  • OverrideGraphicSettings: 22 fields, among them m_oSurfacesTransparency, m_bHalftone, the projection and cut pen, line pattern, fill pattern and colour overriders, and m_visibility.
  • GSurfacesTransparencyOverrider: one field, m_transparency. By its name it is what m_oSurfacesTransparency points to; that link is not measured.
  • Filters: FilterElement (a name), ParameterFilterElement (a category rule and a rule combination), SelectionFilterElement (element ids) and AllViewFiltersAppInfo (the filter ids).

That is the schema only. Not measured: which records hold an instance of any of these, what an instance binds to (a view, a category, an element or a filter) or how its fields are encoded.

Why it is not a small change.

  1. Revit's own IFC export does not apply view overrides (revit-ifc, BodyExporter.GetBestColourAndOpacity, see glTF/IFC export loses Revit transparency when the element→material binding fails, and never reads view/graphics (V/G) overrides #1812), so the measurement the repository rests on, rvt-rs against Revit's export, has nothing to compare with. An oracle would be Revit API output (the OverrideGraphicSettings of a view, per category, element and filter) or a screenshot of a view with known values, from a model that may be shared.
  2. IFC and glTF have no view. The result would be a per-view table beside the model (the JSON API and the viewer), never a change to a material.

First step if it is taken up. Count OverrideGraphicSettings and GSurfacesTransparencyOverrider instances over the corpora with native_document::extract_graphs (a class selection), find what refers to them, and keep the result as a probe and an RE-NN report whichever way it comes out.

Asked of anyone who needs this.

  • What it is for: the viewer, a per-view export, or filtering by view.
  • A small model that is not confidential, with a view that sets a transparency override, plus the values or a screenshot of that view. It is the oracle this issue lacks.

Activity

  1. added
    area:reader
    area:viewer
    priority:P3
    type:research
    community
    on Nov 14, 2026
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:readerarea:viewercommunitypriority:P3type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions