Title: Wall split function error (supposedly) · Issue #7909 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Wall split function error (supposedly) · Issue #7909 · IfcOpenShell/IfcOpenShell
X Title: Wall split function error (supposedly) · Issue #7909 · IfcOpenShell/IfcOpenShell
Description: Bug Description I am totally new to Bonsai and was trying to use split function on walls as part of my entry-level training. Then the error occured and I copied the error message and pasted it down here in the "Debug and Error Output" At...
Open Graph Description: Bug Description I am totally new to Bonsai and was trying to use split function on walls as part of my entry-level training. Then the error occured and I copied the error message and pasted it down...
X Description: Bug Description I am totally new to Bonsai and was trying to use split function on walls as part of my entry-level training. Then the error occured and I copied the error message and pasted it down...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7909
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wall split function error (supposedly)","articleBody":"### Bug Description\n\nI am totally new to Bonsai and was trying to use split function on walls as part of my entry-level training. Then the error occured and I copied the error message and pasted it down here in the \"Debug and Error Output\"\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.26200\npython_version: 3.11.13\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 142 Stepping 10, GenuineIntel\nblender_version: 5.0.1\nbonsai_version: 0.8.4\nbonsai_commit_hash: None\nbonsai_commit_date: None\nlast_actions: \n# operator: BIM_OT_add_element\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_add_element\n# operator: BIM_OT_add_element\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_hotkey\n# operator: BIM_OT_split_wall\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 497, \"Name\": \"Wall\"}}\n# ifcopenshell.api: style.assign_representation_styles\n>>> {\"shape_representation\": {\"cast_type\": \"entity_instance\", \"value\": 1401, \"Name\": null}, \"styles\": \"[]\", \"should_use_presentation_style_assignment\": \"False\"}\n# ifcopenshell.api: geometry.connect_path\n>>> {\"relating_element\": {\"cast_type\": \"entity_instance\", \"value\": 522, \"Name\": \"Wall\"}, \"related_element\": {\"cast_type\": \"entity_instance\", \"value\": 1386, \"Name\": \"Wall\"}, \"relating_connection\": \"ATSTART\", \"related_connection\": \"ATEND\", \"description\": \"None\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: geometry.regenerate_wall_representation\n>>> {}\n# ifcopenshell.api: geometry.regenerate_wall_representation\n>>> {}\n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1386, \"Name\": \"Wall\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[7.549790126404312e-08, -0.9999999999999972, 0.0, 10.000000000000187], [0.9999999999999972, 7.549790126404312e-08, 0.0, -1.5571714129541063e-06], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]}, \"is_si\": \"False\", \"should_transform_children\": \"True\"}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 1386, \"Name\": \"Wall\"}}\n# operator: BIM_OT_hotkey\n# operator: BIM_OT_split_wall\n# operator: BIM_OT_hotkey\n# operator: BIM_OT_split_wall\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 526, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\workspace.py\", line 1132, in _execute\n getattr(self, f\"hotkey_{self.hotkey}\")()\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\workspace.py\", line 1363, in hotkey_S_K\n bpy.ops.bim.split_wall()\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\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 526, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\wall.py\", line 327, in _execute\n DumbWallJoiner().split(obj, context.scene.cursor.location)\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\wall.py\", line 1126, in split\n wall2 = self.duplicate_wall(wall1)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\wall.py\", line 1302, in duplicate_wall\n bonsai.core.root.copy_class(tool.Ifc, tool.Collector, tool.Geometry, tool.Root, obj=wall2)\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\core\\root.py\", line 42, in copy_class\n representation = root.get_object_representation(obj)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\root.py\", line 194, in get_object_representation\n return tool.Ifc.get().by_id(mesh_props.ifc_definition_id)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\file.py\", line 834, in by_id\n return self[id]\n ~~~~^^^^\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\file.py\", line 821, in __getitem__\n return entity_instance(self.wrapped_data.by_id(key), self)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\lenovo\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\ifcopenshell_wrapper.py\", line 7864, in by_id\n return _ifcopenshell_wrapper.file_by_id(self, id)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Instance #1356 not found\nLocation: C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\bpy\\ops.py:109\n\n\nifc: Unsaved\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.4\noriginating_system: IfcOpenShell 0.8.4\n```","author":{"url":"https://github.com/nichenguru-glitch","@type":"Person","name":"nichenguru-glitch"},"datePublished":"2026-04-05T09:56:04Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7909"}
| 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:0601bf1e-c9c7-d25d-a849-043713ce7d83 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA52:3CEE1E:5BF01C:820623:6B047725 |
| html-safe-nonce | 10875123d0026333ae312d1e2389b102067f976ca34c06b3353024671ce735f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTUyOjNDRUUxRTo1QkYwMUM6ODIwNjIzOjZCMDQ3NzI1IiwidmlzaXRvcl9pZCI6IjI1MTMzMjc0MDQ5OTU2MDYzMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f44e3bb14a9a2f3a0788e2823217b8e947e6ab0f8aabf893e6979a135d09fe47 |
| hovercard-subject-tag | issue:4207152101 |
| 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/7909/issue_layout |
| twitter:image | https://opengraph.githubassets.com/60d1638dcb6498d961f1066caecc3874c441b3f3af8abb39b84bb54199178c42/IfcOpenShell/IfcOpenShell/issues/7909 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/60d1638dcb6498d961f1066caecc3874c441b3f3af8abb39b84bb54199178c42/IfcOpenShell/IfcOpenShell/issues/7909 |
| og:image:alt | Bug Description I am totally new to Bonsai and was trying to use split function on walls as part of my entry-level training. Then the error occured and I copied the error message and pasted it down... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nichenguru-glitch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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