Title: IfcElementAssembly | error if element is voided · Issue #7861 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IfcElementAssembly | error if element is voided · Issue #7861 · IfcOpenShell/IfcOpenShell
X Title: IfcElementAssembly | error if element is voided · Issue #7861 · IfcOpenShell/IfcOpenShell
Description: Bug Description have an IfcWall and an IfcCovering select them both go to Object Information > Object > Aggregates > + to add an IfcElementAssembly case 1: the wall has no void => OK case 2: the wall has a void from door or window => err...
Open Graph Description: Bug Description have an IfcWall and an IfcCovering select them both go to Object Information > Object > Aggregates > + to add an IfcElementAssembly case 1: the wall has no void => OK case 2: the wa...
X Description: Bug Description have an IfcWall and an IfcCovering select them both go to Object Information > Object > Aggregates > + to add an IfcElementAssembly case 1: the wall has no void => OK ca...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7861
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IfcElementAssembly | error if element is voided","articleBody":"### Bug Description\n\n1. have an IfcWall and an IfcCovering\n2. select them both\n3. go to Object Information > Object > Aggregates > `+` to add an IfcElementAssembly\n\ncase 1: the wall has no void => OK\ncase 2: the wall has a void from door or window => error (see below)\n\nthanks\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.19045\npython_version: 3.13.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD\nblender_version: 5.1.0\nbonsai_version: 0.8.5-alpha260323\nbonsai_commit_hash: 23ba9e4\nbonsai_commit_date: 2026-03-23T23:00:12Z\nlast_actions: \n# operator: BIM_OT_add_aggregate\n# operator: BIM_OT_assign_class\n# ifcopenshell.api: root.create_entity\n>>> {\"ifc_class\": \"IfcElementAssembly\", \"predefined_type\": \"\", \"name\": \"Wall\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}}\n# ifcopenshell.api: spatial.assign_container\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}], \"relating_structure\": {\"cast_type\": \"entity_instance\", \"value\": 39, \"Name\": \"My Storey\"}}\n# ifcopenshell.api: aggregate.unassign_object\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 71, \"Name\": null}}\n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]}, \"is_si\": \"False\"}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}}\n# ifcopenshell.api: spatial.assign_container\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}], \"relating_structure\": {\"cast_type\": \"entity_instance\", \"value\": 39, \"Name\": \"My Storey\"}}\n# ifcopenshell.api: aggregate.assign_object\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 70, \"Name\": \"Wall\"}], \"relating_object\": {\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}}\n# ifcopenshell.api: spatial.unassign_container\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 70, \"Name\": \"Wall\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 71, \"Name\": null}}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 70, \"Name\": \"Wall\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]}, \"is_si\": \"False\"}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 70, \"Name\": \"Wall\"}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 293, \"Name\": \"Door\"}}\n# ifcopenshell.api: spatial.assign_container\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 358, \"Name\": \"Wall\"}], \"relating_structure\": {\"cast_type\": \"entity_instance\", \"value\": 39, \"Name\": \"My Storey\"}}\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\steve\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n File \"C:\\Users\\steve\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\aggregate\\operator.py\", line 220, in _execute\n bonsai.core.spatial.assign_container(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n tool.Ifc,\n ^^^^^^^^^\n ...\u003c3 lines>...\n objs=[aggregate],\n ^^^^^^^^^^^^^^^^^\n )\n ^\n File \"C:\\Users\\steve\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\core\\spatial.py\", line 70, in assign_container\n collector.assign(ifc.get_object(element))\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\steve\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\tool\\collector.py\", line 32, in assign\n for users_collection in obj.users_collection:\n ^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'users_collection'\n\nblend_file_path: Not saved\nblend_file_dirty: N/A\nifc_file_path: No IFC loaded\nifc_is_dirty: N/A\nifc: Unsaved\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5-alpha260323\noriginating_system: IfcOpenShell 0.8.5-alpha260323\n```","author":{"url":"https://github.com/steverugi","@type":"Person","name":"steverugi"},"datePublished":"2026-03-27T12:56:00Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7861"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8b656078-22f5-9711-406d-869cf2e8ca07 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F56:F551D:74610E:9C1CDF:6B04A5DC |
| html-safe-nonce | 15fde0ca3d17eb8268f5658e19ab61c2e9418ff0a292931bd505f4cd835c37ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjU2OkY1NTFEOjc0NjEwRTo5QzFDREY6NkIwNEE1REMiLCJ2aXNpdG9yX2lkIjoiNzM0MjQ5NTMwNzI3MzY0MzQ4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7fd8bbaa0c584e405893e9a6662e55376ed8805855c03f04ee43c075775c8ff9 |
| hovercard-subject-tag | issue:4152408618 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/7861/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1572f2936538a591f213ee39755ae385e1106cf83423e0cfff6414e6612ce77d/IfcOpenShell/IfcOpenShell/issues/7861 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1572f2936538a591f213ee39755ae385e1106cf83423e0cfff6414e6612ce77d/IfcOpenShell/IfcOpenShell/issues/7861 |
| og:image:alt | Bug Description have an IfcWall and an IfcCovering select them both go to Object Information > Object > Aggregates > + to add an IfcElementAssembly case 1: the wall has no void => OK case 2: the wa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | steverugi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width