Title: Error removing a drawing · Issue #6518 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Error removing a drawing · Issue #6518 · IfcOpenShell/IfcOpenShell
X Title: Error removing a drawing · Issue #6518 · IfcOpenShell/IfcOpenShell
Description: I opened an IFC file that created with BlenderBIM with the new Bonsai V0.8.1. Now is giving me an error on the 2D drawing I have for the model. Here is the error message: os: Windows os_version: 10.0.19045 python_version: 3.11.9 architec...
Open Graph Description: I opened an IFC file that created with BlenderBIM with the new Bonsai V0.8.1. Now is giving me an error on the 2D drawing I have for the model. Here is the error message: os: Windows os_version: 10...
X Description: I opened an IFC file that created with BlenderBIM with the new Bonsai V0.8.1. Now is giving me an error on the 2D drawing I have for the model. Here is the error message: os: Windows os_version: 10...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6518
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error removing a drawing","articleBody":"I opened an IFC file that created with BlenderBIM with the new Bonsai V0.8.1. Now is giving me an error on the 2D drawing I have for the model. Here is the error message:\n\n```\nos: Windows\nos_version: 10.0.19045\npython_version: 3.11.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel\nblender_version: 4.3.2\nbonsai_version: 0.8.1\nbonsai_commit_hash: None\nlast_actions: \n# operator: BIM_OT_load_type_thumbnails\n# operator: BIM_OT_load_drawings\n# operator: BIM_OT_remove_drawing\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\amaru\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 442, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\amaru\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\operator.py\", line 2132, in _execute\n core.remove_drawing(tool.Ifc, tool.Drawing, drawing=drawing)\n File \"C:\\Users\\amaru\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\core\\drawing.py\", line 353, in remove_drawing\n information = drawing_tool.get_reference_document(drawing_tool.get_drawing_document(drawing))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\amaru\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\drawing.py\", line 1839, in get_reference_document\n return reference.ReferencedDocument\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'ReferencedDocument'\n\nifc: new_apartment_latest2.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.1\noriginating_system: Bonsai 0.8.1\n```\n\nThank you\n","author":{"url":"https://github.com/Sincopado-dev","@type":"Person","name":"Sincopado-dev"},"datePublished":"2025-04-08T15:41:57Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6518"}
| 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:3c0f8066-98fc-1e6e-f338-c4d7416d5cbd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7C2:64377:5D552A:7C2DD6:6B04C462 |
| html-safe-nonce | b212554e5b8fc7c1563dc3153753da617a62d5fea8b041e44749d8edc794a9f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0MyOjY0Mzc3OjVENTUyQTo3QzJERDY6NkIwNEM0NjIiLCJ2aXNpdG9yX2lkIjoiODI3NjM2NTEyMTc3ODE0MDI1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8cc57cc5866d636846da358a3170c5971439ce0202a9ca59804f3d455e30d75a |
| hovercard-subject-tag | issue:2980205430 |
| 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/6518/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13b17adfe4c5500220738060b371869ea434398d62483f7c86fb9c5b8681dc1c/IfcOpenShell/IfcOpenShell/issues/6518 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13b17adfe4c5500220738060b371869ea434398d62483f7c86fb9c5b8681dc1c/IfcOpenShell/IfcOpenShell/issues/6518 |
| og:image:alt | I opened an IFC file that created with BlenderBIM with the new Bonsai V0.8.1. Now is giving me an error on the 2D drawing I have for the model. Here is the error message: os: Windows os_version: 10... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Sincopado-dev |
| 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