FreeCAD / FreeCAD/FreeCAD

BIM: BIM_IfcQuantities when one quantity is selected, all are created

Open
#21,361 5 comments 1 reaction 1 assignee Claimed by @yorikvanhavre View on GitHub
File format: IFC Status: Confirmed Type: Bug
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Problem description

Steps to reproduce:

- open new file
- create `Arch_Wall`
- open `BIM_IfcQuantities` manager
- enable Length quantity by checking the box
- click `OK` to close the dialogue
- open `BIM_IfcQuantities` manager again
- all quantities are checked for the wall, which is not what the user enabled previously - incorrect
- when the Wall is exported to IFC, it contains all the Quantity properties which are checked - incorrect

See behavior in the video:

https://github.com/user-attachments/assets/b9e627dc-8d07-4330-a1a0-bd1b25a8b9b0

### Full version info

```shell
OS: Windows 10 build 19045
Architecture: x86_64
Version: 1.1.0dev.41365 (Git)
Build date: 2025/04/22 11:42:50
Build type: Release
Branch: main
Hash: 84b57d67b50ac64be2246418fb4b49406904f3a9
Python 3.11.12, Qt 6.7.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide
shiboken , xerces-c 3.2.5, IfcOpenShell 0.8.1, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/
Logical DPI/Physical DPI/Pixel Ratio: 96/126.557/1.25
Installed mods:
* BIM021 2021.12.0
* Reporting
* Telemetry 1.0.1
```

### Subproject(s) affected?

BIM

### Anything else?

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.