revit-ifc icon indicating copy to clipboard operation
revit-ifc copied to clipboard

PR: Export ignoring V/G settings Detail Level

Open MisunMartin opened this issue 5 months ago • 3 comments

Problem Description

When exporting from Revit Exporter ignores settings in V/G "Detail Level"

No matter what you set up here (Coarse/Medium/Fine) it always exports as "By View"

This causes problems and mistakes when designers setup specific 3D View using these settings for IFC export, because IFC export does not correspond with the 3D View Revit visibility / settings.

In example there are doors with hardware provided, where hardware is only visible in "Fine".

As long as 3D View "Detail Level" is set to fine it always export Hardware, even if whole Doors Category is set to "Medium" or "Coarse" through V/G settings. Works the same in opposite direction (if View is set to Coarse - it ignores V/G settings of categories for Medium/Fine....

Only way not to export Hardware is to completely turn off "Subcategory".

Is that ignorance of "Detail Level" parameter in V/G there on purpose os is that a bug?

Thx

Fine View Image

Image

Fine View + V/G settings to Medium Image

Image

Revit Version

2026.0.x

IFC for Revit Addon Version

26.1.0

Windows Version

11 24H2

MisunMartin avatar Aug 07 '25 09:08 MisunMartin

It seems like it is on purpose:

https://github.com/Autodesk/revit-ifc/blob/master/Source/Revit.IFC.Export/Utility/GeometryUtil.cs#L652

denizmaral avatar Aug 07 '25 09:08 denizmaral

Yeah, seems like it is just looking for the "general" View settings and sets "Fine" detail if "Use current view" is not checked 😞

In that case, it would be great to enhance exporter to check for V/G Detail Level settings of the categories in the View and overwrite "general" View settings - if that is overwritten for some categories. 👍

MisunMartin avatar Aug 07 '25 14:08 MisunMartin

This issue is also reported in Jira as "REVIT-240084" and is currently in the "Open" status.

ArtemHnatko avatar Aug 08 '25 10:08 ArtemHnatko