Autodesk / Autodesk/revit-ifc

Revit visibility graphics seem to be based on type representation maps, not instance classes

Open
#362 1 comment 0 reactions 0 assignees View on GitHub
enhancement UI/UX
Dominant language
C#
Stars
637
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Intuitively, users changing visibility graphics settings expect that if they disable a category (e.g. walls) then walls, and only walls, would disappear.

However, this seems not to be true.

Consider the scenario:

1. IfcDoor X has IfcDoorType TX.
2. IfcBuildingElementProxy Y exists.
3. IfcDoorType has a representation map of Z.
4. IfcBuildingElementProxy Y also uses representation map of Z somewhere.
5. IfcDoor X imports into Revit as a Door category.
6. IfcBuildingElementProxy Y imports into Revit as a Generic Model category.
7. User toggles visibility of Door category.
8. Surprise! IfcBuildingElementProxy's Generic Model disappears.

In IFC4, considering the where rules for typing, the scope of this problem is reduced. However in IFC2X3 this is a situation.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the IFC2X3 scenario described: share representation map Z between an IfcDoorType and an IfcBuildingElementProxy, import into Revit, and toggle the Door category. Trace how representation maps and Revit categories are associated; done means hiding Door elements no longer hides the unrelated Generic Model element.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.