Title: IFC file Bug Report · Issue #8036 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IFC file Bug Report · Issue #8036 · IfcOpenShell/IfcOpenShell
X Title: IFC file Bug Report · Issue #8036 · IfcOpenShell/IfcOpenShell
Description: Bug Description os: Windows os_version: 10.0.26200 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 154 Stepping 3, GenuineIntel blender_version: 5.1.0 bonsai_version: 0.8.5 bon...
Open Graph Description: Bug Description os: Windows os_version: 10.0.26200 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 154 Stepping 3, GenuineIntel blender_...
X Description: Bug Description os: Windows os_version: 10.0.26200 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 154 Stepping 3, Genui...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8036
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IFC file Bug Report","articleBody":"### Bug Description\n\n```\nos: Windows\nos_version: 10.0.26200\npython_version: 3.13.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 154 Stepping 3, GenuineIntel\nblender_version: 5.1.0\nbonsai_version: 0.8.5\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# ifcopenshell.api: document.add_reference\n>>> {\"information\": {\"cast_type\": \"entity_instance\", \"value\": 14056, \"Name\": \"UNTITLED\"}}\n# ifcopenshell.api: document.edit_reference\n>>> {\"reference\": {\"cast_type\": \"entity_instance\", \"value\": 19474, \"Name\": null}, \"attributes\": \"{'Identification': '2', 'Location': 'drawings/ROOF PLAN.svg', 'Description': 'DRAWING'}\"}\n# operator: BIM_OT_create_sheets\n# operator: BIM_OT_remove_drawing_from_sheet\n# ifcopenshell.api: document.remove_reference\n>>> {\"reference\": {\"cast_type\": \"entity_instance\", \"value\": 19474, \"Name\": null}}\n# operator: BIM_OT_activate_drawing\n# operator: BIM_OT_activate_drawing_style\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 9414, \"Name\": \"EPset_Drawing\"}, \"properties\": \"{'CurrentShadingStyle': 'Blender Default'}\"}\n# ifcopenshell.api: root.remove_product\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 18614, \"Name\": \"C\"}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 18614, \"Name\": \"C\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 18617, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 18617, \"Name\": null}}\n# ifcopenshell.api: root.create_entity\n>>> {\"ifc_class\": \"IfcAnnotation\", \"predefined_type\": \"GRID\", \"name\": \"C\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: geometry.assign_representation\n>>> {}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 19475, \"Name\": \"C\"}}\n# ifcopenshell.api: drawing.assign_product\n>>> {\"relating_product\": {\"cast_type\": \"entity_instance\", \"value\": 11282, \"Name\": null}, \"related_object\": {\"cast_type\": \"entity_instance\", \"value\": 19475, \"Name\": \"C\"}}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: group.assign_group\n>>> {\"group\": {\"cast_type\": \"entity_instance\", \"value\": 9412, \"Name\": \"First Floor\"}, \"products\": [{\"cast_type\": \"entity_instance\", \"value\": 19475, \"Name\": \"C\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 9413, \"Name\": null}}\n# operator: BIM_OT_add_drawing_to_sheet\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\Mpho\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\ifc.py\", line 523, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n File \"C:\\Users\\Mpho\\AppData\\Roaming\\Blender Foundation\\Blender\\5.1\\extensions\\.local\\lib\\python3.13\\site-packages\\bonsai\\bim\\module\\drawing\\operator.py\", line 1971, in _execute\n if reference.Location == drawing_reference.Location:\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'Location'\n\nblend_file_path: Not saved\nblend_file_dirty: N/A\nifc_file_path: D:/blender ifc file/computers sub/computers council.ifc\nifc_is_dirty: True\nifc: computers council.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5\noriginating_system: Bonsai 0.8.5\n```\n\nI am trying to open a drawing but i am unsuccessful\n\n### Attachments\n\n\u003cimg width=\"1917\" height=\"1078\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/19640a5e-1354-4ec8-803f-b2c9d450c851\" />\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/Eve40","@type":"Person","name":"Eve40"},"datePublished":"2026-05-03T03:06:40Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8036"}
| 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:d4af9a51-a242-0db8-72ca-df6bdad46be0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECE2:99B56:362CF2:4C760B:6B046D74 |
| html-safe-nonce | a831ca8f37441e6993df9e3f0dd6f770f1593924e1e5b11536be7544ec0395aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0UyOjk5QjU2OjM2MkNGMjo0Qzc2MEI6NkIwNDZENzQiLCJ2aXNpdG9yX2lkIjoiNTgwOTU5MjM0MjI3MzA5Mjk4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | de356eacdad75e03f4050d8cbc2d0ae609cfb6e65dcf06b67a68ca163e408686 |
| hovercard-subject-tag | issue:4370728239 |
| 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/8036/issue_layout |
| twitter:image | https://opengraph.githubassets.com/397d3e5bc7c5d8b5dafaba4b35d5c7226d617d6a51995a13cdeeb0fc6700652d/IfcOpenShell/IfcOpenShell/issues/8036 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/397d3e5bc7c5d8b5dafaba4b35d5c7226d617d6a51995a13cdeeb0fc6700652d/IfcOpenShell/IfcOpenShell/issues/8036 |
| og:image:alt | Bug Description os: Windows os_version: 10.0.26200 python_version: 3.13.9 architecture: ('64bit', 'WindowsPE') machine: AMD64 processor: Intel64 Family 6 Model 154 Stepping 3, GenuineIntel blender_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eve40 |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| 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 | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | canary-2 |
| 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