Title: Bug when add a IFC object · Issue #6398 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bug when add a IFC object · Issue #6398 · IfcOpenShell/IfcOpenShell
X Title: Bug when add a IFC object · Issue #6398 · IfcOpenShell/IfcOpenShell
Description: Python: Traceback (most recent call last): File "C:\Users\Arturo\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\root\operator.py", line 631, in execute bpy.ops.bim.add_eleme...
Open Graph Description: Python: Traceback (most recent call last): File "C:\Users\Arturo\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\root\operator.py", li...
X Description: Python: Traceback (most recent call last): File "C:\Users\Arturo\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\root\operator.py...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6398
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug when add a IFC object","articleBody":"Python: Traceback (most recent call last):\n File \"C:\\Users\\Arturo\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\root\\operator.py\", line 631, in execute\n bpy.ops.bim.add_element(\"INVOKE_DEFAULT\")\n File \"C:\\Program Files\\Blender Foundation\\Blender 4.2\\4.2\\scripts\\modules\\bpy\\ops.py\", line 107, in __call__\n ret = _op_call(self.idname_py(), kw, C_exec, C_undo)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\Arturo\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\helper.py\", line 300, in prop_with_search\n if len(get_enum_items(data, prop_name, original_operator_path=original_operator_path)) > 10:\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Arturo\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\helper.py\", line 345, in get_enum_items\n items = items(data, context or bpy.context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Arturo\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\root\\prop.py\", line 98, in get_ifc_products\n return IfcClassData.data[\"ifc_products\"]\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^\nKeyError: 'ifc_products'\nUbicación: C:\\Users\\Arturo\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\root\\operator.py:376\n","author":{"url":"https://github.com/Arturo-arch5","@type":"Person","name":"Arturo-arch5"},"datePublished":"2025-03-19T19:28:58Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6398"}
| 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:36bc98c6-58ac-e121-b720-cd8b0891999b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3E4:36E50:47A983:6038E4:6B04BE71 |
| html-safe-nonce | d163b303fa3a84efc21c85f481551763c4f209c3445451bbd6df618f303858da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0U0OjM2RTUwOjQ3QTk4Mzo2MDM4RTQ6NkIwNEJFNzEiLCJ2aXNpdG9yX2lkIjoiMjcxMTMzNTc0MzkxNzQ0MDYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6c5e553bfd6e0db3e890dba79284e8c4a3b286c3bd2f2b589798be9438912d64 |
| hovercard-subject-tag | issue:2932924694 |
| 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/6398/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f31f9c2f8b052b0cc3fa17325b7636fbf0ff506e62ca82878d7e49a8e5c7cbdb/IfcOpenShell/IfcOpenShell/issues/6398 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f31f9c2f8b052b0cc3fa17325b7636fbf0ff506e62ca82878d7e49a8e5c7cbdb/IfcOpenShell/IfcOpenShell/issues/6398 |
| og:image:alt | Python: Traceback (most recent call last): File "C:\Users\Arturo\AppData\Roaming\Blender Foundation\Blender\4.2\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\root\operator.py", li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Arturo-arch5 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| 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 | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| 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