Title: bug report · Issue #7981 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: bug report · Issue #7981 · IfcOpenShell/IfcOpenShell
X Title: bug report · Issue #7981 · IfcOpenShell/IfcOpenShell
Description: Bug Description os: Windows os_version: 10.0.26100 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 25 Model 124 Stepping 0, AuthenticAMD blender_version: 5.1.0 bonsai_version: 0.8.5 bons...
Open Graph Description: Bug Description os: Windows os_version: 10.0.26100 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 25 Model 124 Stepping 0, AuthenticAMD blender_v...
X Description: Bug Description os: Windows os_version: 10.0.26100 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 25 Model 124 Stepping 0, Authen...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7981
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug report","articleBody":"### Bug Description\n\n```\nos: Windows\nos_version: 10.0.26100\npython_version: 3.13.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: AMD64 Family 25 Model 124 Stepping 0, AuthenticAMD\nblender_version: 5.1.0\nbonsai_version: 0.8.5\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# operator: BIM_OT_remove_opening\n# ifcopenshell.api: feature.remove_feature\n>>> {\"feature\": {\"cast_type\": \"entity_instance\", \"value\": 2649, \"Name\": \"Opening\"}}\n# ifcopenshell.api: root.remove_product\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2649, \"Name\": \"Opening\"}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2649, \"Name\": \"Opening\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2676, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2676, \"Name\": null}}\n# ifcopenshell.api: feature.remove_filling\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}}\n# ifcopenshell.api: root.remove_product\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2640, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2640, \"Name\": null}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2648, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2648, \"Name\": null}}\n# ifcopenshell.api: type.unassign_type\n>>> {\"related_objects\": [{\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}]}\n# operator: BIM_OT_duplicate_type\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 355, \"Name\": \"DT01\"}}\n# ifcopenshell.api: style.assign_representation_styles\n>>> {\"shape_representation\": {\"cast_type\": \"entity_instance\", \"value\": 2717, \"Name\": null}, \"styles\": [{\"cast_type\": \"entity_instance\", \"value\": 359, \"Name\": \"Frame\"}, {\"cast_type\": \"entity_instance\", \"value\": 363, \"Name\": \"Panel\"}], \"should_use_presentation_style_assignment\": \"False\"}\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_rename_type\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_set_active_type\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\mathe\\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\\mathe\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\model\\product.py\", line 568, in _execute\n props.relating_type_id = str(self.relating_type)\n ^^^^^^^^^^^^^^^^^^^^^^\nTypeError: bpy_struct: item.attr = val: enum \"2711\" not found in ('254', '260')\n\nblend_file_path: C:\\Users\\mathe\\OneDrive\\Documents\\blender file project for building\\council submission blender file\\council submission.blend\nblend_file_dirty: True\nifc_file_path: C:/Users/mathe/OneDrive/Documents/bonsai council submission final ifc file to work on/council submission.ifc\nifc_is_dirty: True\nifc: council submission.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5\noriginating_system: Bonsai 0.8.5\n```\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.26100\npython_version: 3.13.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: AMD64 Family 25 Model 124 Stepping 0, AuthenticAMD\nblender_version: 5.1.0\nbonsai_version: 0.8.5\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# operator: BIM_OT_remove_opening\n# ifcopenshell.api: feature.remove_feature\n>>> {\"feature\": {\"cast_type\": \"entity_instance\", \"value\": 2649, \"Name\": \"Opening\"}}\n# ifcopenshell.api: root.remove_product\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2649, \"Name\": \"Opening\"}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2649, \"Name\": \"Opening\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2676, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2676, \"Name\": null}}\n# ifcopenshell.api: feature.remove_filling\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}}\n# ifcopenshell.api: root.remove_product\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2640, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2640, \"Name\": null}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2648, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 2648, \"Name\": null}}\n# ifcopenshell.api: type.unassign_type\n>>> {\"related_objects\": [{\"cast_type\": \"entity_instance\", \"value\": 2632, \"Name\": \"Door\"}]}\n# operator: BIM_OT_duplicate_type\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 355, \"Name\": \"DT01\"}}\n# ifcopenshell.api: style.assign_representation_styles\n>>> {\"shape_representation\": {\"cast_type\": \"entity_instance\", \"value\": 2717, \"Name\": null}, \"styles\": [{\"cast_type\": \"entity_instance\", \"value\": 359, \"Name\": \"Frame\"}, {\"cast_type\": \"entity_instance\", \"value\": 363, \"Name\": \"Panel\"}], \"should_use_presentation_style_assignment\": \"False\"}\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_rename_type\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_set_active_type\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\mathe\\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\\mathe\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\model\\product.py\", line 568, in _execute\n props.relating_type_id = str(self.relating_type)\n ^^^^^^^^^^^^^^^^^^^^^^\nTypeError: bpy_struct: item.attr = val: enum \"2711\" not found in ('254', '260')\n\nblend_file_path: C:\\Users\\mathe\\OneDrive\\Documents\\blender file project for building\\council submission blender file\\council submission.blend\nblend_file_dirty: True\nifc_file_path: C:/Users/mathe/OneDrive/Documents/bonsai council submission final ifc file to work on/council submission.ifc\nifc_is_dirty: True\nifc: council submission.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5\noriginating_system: Bonsai 0.8.5\n```","author":{"url":"https://github.com/mathebulakagisocharity-commits","@type":"Person","name":"mathebulakagisocharity-commits"},"datePublished":"2026-04-21T13:29:19Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7981"}
| 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:fa4abb0a-b0a5-649a-1be4-645ac930b2e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8AC:2ACC63:10C0D6:1653AF:6B04B114 |
| html-safe-nonce | 73be0929982b536b7cf34c36893bf7e431c847a5986eed4f41b7218e078e0a04 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEFDOjJBQ0M2MzoxMEMwRDY6MTY1M0FGOjZCMDRCMTE0IiwidmlzaXRvcl9pZCI6IjM4OTEyMDMzNzUxMjMxODE4NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 901e2cb1850ee116b5ba41817b33993ead1d5b0b66f41c423c0ed322397adef8 |
| hovercard-subject-tag | issue:4302914468 |
| 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/7981/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bdfd32c49f40165441a3d63f01daa1849056c5884fbcfad16fa7bc39e98f1ced/IfcOpenShell/IfcOpenShell/issues/7981 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bdfd32c49f40165441a3d63f01daa1849056c5884fbcfad16fa7bc39e98f1ced/IfcOpenShell/IfcOpenShell/issues/7981 |
| og:image:alt | Bug Description os: Windows os_version: 10.0.26100 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 25 Model 124 Stepping 0, AuthenticAMD blender_v... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mathebulakagisocharity-commits |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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