Title: Bonsai: BonsaiPR - newly creating lines give an error · Issue #9290 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai: BonsaiPR - newly creating lines give an error · Issue #9290 · IfcOpenShell/IfcOpenShell
X Title: Bonsai: BonsaiPR - newly creating lines give an error · Issue #9290 · IfcOpenShell/IfcOpenShell
Description: Bug Description With these blender and BonsaiPR versions: Creating a new line gives an error (In below description) Might be related to this feature? #8083 Comparing to a version without parametric Dimensions, they do not have this error...
Open Graph Description: Bug Description With these blender and BonsaiPR versions: Creating a new line gives an error (In below description) Might be related to this feature? #8083 Comparing to a version without parametric...
X Description: Bug Description With these blender and BonsaiPR versions: Creating a new line gives an error (In below description) Might be related to this feature? #8083 Comparing to a version without parametric...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/9290
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai: BonsaiPR - newly creating lines give an error","articleBody":"### Bug Description\n\nWith these blender and BonsaiPR versions:\n\n\u003cimg width=\"361\" height=\"20\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/dec0c601-50a6-43f0-bbf2-2d52c3dd75ef\" />\n\nCreating a new line gives an error (In below description)\nMight be related to this feature? \nhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8083\nComparing to a version without parametric Dimensions, they do not have this error.\n\n### Attachments\n\nPython: Traceback (most recent call last):\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\bim\\module\\drawing\\workspace.py\", line 361, in invoke\n return self.execute(context)\n ~~~~~~~~~~~~^^^^^^^^^\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\tool\\ifc.py\", line 368, in execute\n IfcStore.execute_ifc_operator(self, context)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\bim\\ifc.py\", line 570, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\bim\\module\\drawing\\workspace.py\", line 356, in _execute\n getattr(self, f\"hotkey_{self.hotkey}\")()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\bim\\module\\drawing\\workspace.py\", line 417, in hotkey_S_A\n bpy.ops.bim.add_annotation()\n ~~~~~~~~~~~~~~~~~~~~~~~~~~^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\tool\\ifc.py\", line 368, in execute\n IfcStore.execute_ifc_operator(self, context)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\bim\\ifc.py\", line 570, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\bim\\module\\drawing\\operator.py\", line 2705, in _execute\n enable_editing=object_type not in (\"ELEVATION\", \"SECTION\"),\n ^^^^^^^^^^^\nNameError: name 'object_type' is not defined\nLocation: C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\5.2\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsaiPR\\bim\\module\\drawing\\workspace.py:417\n\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/Plae-Blue-Dot","@type":"Person","name":"Plae-Blue-Dot"},"datePublished":"2026-08-12T17:27:19Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/9290"}
| 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:4350af75-1d71-303c-4a5f-8f330be123c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 849E:1612C1:71583D:9B4519:6B0477D3 |
| html-safe-nonce | 5443c13a069e2d4a7499c4030b4dea14dfbf142993be3af623b76ef4af1c3be9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDlFOjE2MTJDMTo3MTU4M0Q6OUI0NTE5OjZCMDQ3N0QzIiwidmlzaXRvcl9pZCI6IjEwNTE5ODc1Mjg2Nzg0MDYwOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 464389845c3acfe0a733fb2a6cb749750299ee92cd012fbb3d0e0b60e78d09ba |
| hovercard-subject-tag | issue:5133555728 |
| 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/9290/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ec7907986bb02a02b69680d9abe066d3511fe182a60f5ed2a6d858004e622be/IfcOpenShell/IfcOpenShell/issues/9290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ec7907986bb02a02b69680d9abe066d3511fe182a60f5ed2a6d858004e622be/IfcOpenShell/IfcOpenShell/issues/9290 |
| og:image:alt | Bug Description With these blender and BonsaiPR versions: Creating a new line gives an error (In below description) Might be related to this feature? #8083 Comparing to a version without parametric... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Plae-Blue-Dot |
| 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