Title: Bonsai error when I create a new ifc model · Issue #8042 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai error when I create a new ifc model · Issue #8042 · IfcOpenShell/IfcOpenShell
X Title: Bonsai error when I create a new ifc model · Issue #8042 · IfcOpenShell/IfcOpenShell
Description: Bug Description Bonsai error when I create a new ifc model os: Windows os_version: 10.0.26200 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 181 Stepping 0, GenuineIntel blen...
Open Graph Description: Bug Description Bonsai error when I create a new ifc model os: Windows os_version: 10.0.26200 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6...
X Description: Bug Description Bonsai error when I create a new ifc model os: Windows os_version: 10.0.26200 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: ...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8042
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai error when I create a new ifc model","articleBody":"### Bug Description\n\nBonsai error when I create a new ifc model\n\n```\nos: Windows\nos_version: 10.0.26200\npython_version: 3.11.13\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 181 Stepping 0, GenuineIntel\nblender_version: 5.0.0\nbonsai_version: 0.8.5-post1\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_direct_profile_edit\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2766, in _execute\n return self.handle_exit_edit_mode(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2787, in handle_exit_edit_mode\n return bpy.ops.bim.override_mode_set_object()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\bpy\\ops.py\", line 109, in __call__\n ret = _op_call(self.idname_py(), kw)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2530, in _execute\n for obj in self.edited_objs:\n ^^^^^^^^^^^^^^^^\n File \"C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\_bpy_types.py\", line 1024, in __getattribute__\n return super().__getattribute__(attr)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'OverrideModeSetObject' object has no attribute 'edited_objs'\nLocation: C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\bpy\\ops.py:109\n\n\nblend_file_path: C:\\Users\\Nadiya\\OneDrive\\Documents\\ifc trial chair.blend\nblend_file_dirty: True\nifc_file_path: No IFC loaded\nifc_is_dirty: N/A\n```\n\n### Attachments\n\n```\nos: Windows\nos_version: 10.0.26200\npython_version: 3.11.13\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 181 Stepping 0, GenuineIntel\nblender_version: 5.0.0\nbonsai_version: 0.8.5-post1\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_direct_profile_edit\n# operator: BIM_OT_direct_profile_edit\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2766, in _execute\n return self.handle_exit_edit_mode(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2787, in handle_exit_edit_mode\n return bpy.ops.bim.override_mode_set_object()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\bpy\\ops.py\", line 109, in __call__\n ret = _op_call(self.idname_py(), kw)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Nadiya\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 2530, in _execute\n for obj in self.edited_objs:\n ^^^^^^^^^^^^^^^^\n File \"C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\_bpy_types.py\", line 1024, in __getattribute__\n return super().__getattribute__(attr)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'OverrideModeSetObject' object has no attribute 'edited_objs'\nLocation: C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\bpy\\ops.py:109\n\n\nblend_file_path: C:\\Users\\Nadiya\\OneDrive\\Documents\\ifc trial chair.blend\nblend_file_dirty: True\nifc_file_path: No IFC loaded\nifc_is_dirty: N/A\n```\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/nrahmaharch","@type":"Person","name":"nrahmaharch"},"datePublished":"2026-05-07T09:50:39Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8042"}
| 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:f5798739-0983-048f-10e0-895871070e3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B45A:3ED4D2:455CAB:5D4ED3:6B049BA0 |
| html-safe-nonce | a3aa40b1a5a3ca4e60868a6de0cf20dde62dac1782794bb88d98c563217d60e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDVBOjNFRDREMjo0NTVDQUI6NUQ0RUQzOjZCMDQ5QkEwIiwidmlzaXRvcl9pZCI6IjM4MDUwNzc5ODA3Nzk0MjA1NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | def3e4b3c6bd06afb8b68f1e570ccad70aa0d669050bc29bda2961c2b816630e |
| hovercard-subject-tag | issue:4397790561 |
| 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/8042/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4703e08b290e8e3c95e25160263d311df5050e4af66dc7f25c36814881397db8/IfcOpenShell/IfcOpenShell/issues/8042 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4703e08b290e8e3c95e25160263d311df5050e4af66dc7f25c36814881397db8/IfcOpenShell/IfcOpenShell/issues/8042 |
| og:image:alt | Bug Description Bonsai error when I create a new ifc model os: Windows os_version: 10.0.26200 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nrahmaharch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| 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 | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| 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