Title: error on adding spaces · Issue #7477 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: error on adding spaces · Issue #7477 · IfcOpenShell/IfcOpenShell
X Title: error on adding spaces · Issue #7477 · IfcOpenShell/IfcOpenShell
Description: Bug Description No response Attachments No response Debug and Error Output os: Windows os_version: 10.0.26100 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: AMD64 Family 23 Model 104 Stepping 1, Au...
Open Graph Description: Bug Description No response Attachments No response Debug and Error Output os: Windows os_version: 10.0.26100 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: ...
X Description: Bug Description No response Attachments No response Debug and Error Output os: Windows os_version: 10.0.26100 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: A...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7477
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"error on adding spaces","articleBody":"### Bug Description\n\n_No response_\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.11.13\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: AMD64 Family 23 Model 104 Stepping 1, AuthenticAMD\nblender_version: 5.0.0\nbonsai_version: 0.8.4\nbonsai_commit_hash: None\nbonsai_commit_date: None\nlast_actions: \n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: aggregate.assign_object\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 2719, \"Name\": \"Space0\"}], \"relating_object\": {\"cast_type\": \"entity_instance\", \"value\": 43, \"Name\": \"Ground_Floor\"}}\n# ifcopenshell.api: spatial.unassign_container\n>>> {\"products\": \"[]\"}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2399, \"Name\": null}}\n# ifcopenshell.api: geometry.assign_representation\n>>> {}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2719, \"Name\": \"Space0\"}}\n# operator: BIM_OT_override_outliner_delete\n# operator: BIM_OT_override_object_delete\n# operator: BIM_OT_spatial_hotkey\n# operator: BIM_OT_spatial_hotkey\n# operator: BIM_OT_generate_spaces_from_walls\n# operator: BIM_OT_assign_class\n# ifcopenshell.api: root.create_entity\n>>> {\"ifc_class\": \"IfcSpace\", \"predefined_type\": \"\", \"name\": \"Space0\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: aggregate.assign_object\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 2730, \"Name\": \"Space0\"}], \"relating_object\": {\"cast_type\": \"entity_instance\", \"value\": 43, \"Name\": \"Ground_Floor\"}}\n# ifcopenshell.api: spatial.unassign_container\n>>> {\"products\": \"[]\"}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2399, \"Name\": null}}\n# ifcopenshell.api: geometry.assign_representation\n>>> {}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 2730, \"Name\": \"Space0\"}}\n# operator: BIM_OT_spatial_hotkey\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\dajah\\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\\dajah\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\spatial\\workspace.py\", line 141, in _execute\n getattr(self, f\"hotkey_{self.hotkey}\")()\n File \"C:\\Users\\dajah\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\spatial\\workspace.py\", line 178, in hotkey_S_T\n bpy.ops.bim.toggle_space_visibility()\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\\dajah\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\model\\space.py\", line 104, in execute\n core.toggle_space_visibility(tool.Ifc, tool.Spatial)\n File \"C:\\Users\\dajah\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\core\\spatial.py\", line 267, in toggle_space_visibility\n spatial.toggle_spaces_visibility_wired_and_textured(spaces)\n File \"C:\\Users\\dajah\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\spatial.py\", line 1230, in toggle_spaces_visibility_wired_and_textured\n assert isinstance(first_obj, bpy.types.Object)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError\nLocation: C:\\Program Files\\Blender Foundation\\Blender 5.0\\5.0\\scripts\\modules\\bpy\\ops.py:109\n\n\nifc: 102.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.4\noriginating_system: Bonsai 0.8.4\n```","author":{"url":"https://github.com/dajecodes","@type":"Person","name":"dajecodes"},"datePublished":"2025-12-11T07:12:34Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7477"}
| 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:8c6ce5ce-f517-537c-76f5-43b71838a46c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB62:346BC8:1CFBE:274D2:6B04A992 |
| html-safe-nonce | af26fc92878d5af9f121fea97592b2ef780fa3a6b7050d948b2af8908ce49b2c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjYyOjM0NkJDODoxQ0ZCRToyNzREMjo2QjA0QTk5MiIsInZpc2l0b3JfaWQiOiIxNDUzNzY5MjYzODE0MDYwNDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cfa2bfeee6b5f98a44b5ca04a5a120b2aa5ab76ed35ba23be64b62e28ad9cb24 |
| hovercard-subject-tag | issue:3718112591 |
| 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/7477/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0190db11023feefc884e86a0db22957451c639b0abca662bc5a66750ac222cbe/IfcOpenShell/IfcOpenShell/issues/7477 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0190db11023feefc884e86a0db22957451c639b0abca662bc5a66750ac222cbe/IfcOpenShell/IfcOpenShell/issues/7477 |
| og:image:alt | Bug Description No response Attachments No response Debug and Error Output os: Windows os_version: 10.0.26100 python_version: 3.11.13 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dajecodes |
| 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