Title: Error when "Create Drawing" with IfcWall, IfcChimney and IfcOpeningElement · Issue #6876 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Error when "Create Drawing" with IfcWall, IfcChimney and IfcOpeningElement · Issue #6876 · IfcOpenShell/IfcOpenShell
X Title: Error when "Create Drawing" with IfcWall, IfcChimney and IfcOpeningElement · Issue #6876 · IfcOpenShell/IfcOpenShell
Description: Bug Description open Test_03.ifc activate "LEVEL PLAN"-drawing press "Create Drawing"-button i see this error: Python: Traceback (most recent call last): File "C:\Users\Robert\AppData\Roaming\Blender Foundation\Blender\4.4\extensions\.lo...
Open Graph Description: Bug Description open Test_03.ifc activate "LEVEL PLAN"-drawing press "Create Drawing"-button i see this error: Python: Traceback (most recent call last): File "C:\Users\Robert\AppData\Roaming\Blend...
X Description: Bug Description open Test_03.ifc activate "LEVEL PLAN"-drawing press "Create Drawing"-button i see this error: Python: Traceback (most recent call last): File "C:\Users\Rob...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6876
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when \"Create Drawing\" with IfcWall, IfcChimney and IfcOpeningElement","articleBody":"### Bug Description\n\n1. open Test_03.ifc\n2. activate \"LEVEL PLAN\"-drawing\n3. press \"Create Drawing\"-button\n4. i see this error:\n```\nPython: Traceback (most recent call last):\n File \"C:\\Users\\Robert\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\operator.py\", line 342, in execute\n linework_svg = self.generate_linework(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Robert\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\operator.py\", line 932, in generate_linework\n self.merge_linework_and_add_metadata(root)\n File \"C:\\Users\\Robert\\AppData\\Roaming\\Blender Foundation\\Blender\\4.4\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\operator.py\", line 1473, in merge_linework_and_add_metadata\n for subpath in path.attrib[\"d\"].split(\"M\")[1:]:\n ~~~~~~~~~~~^^^^^\n File \"src/lxml/etree.pyx\", line 2644, in lxml.etree._Attrib.__getitem__\nKeyError: 'd'\n```\nIf I delete the IfcOpeningElement in the IfcWall the drawing can be created without errors.\n\n[Test_03.ifc.txt](https://github.com/user-attachments/files/21061142/Test_03.ifc.txt)\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/balrobs","@type":"Person","name":"balrobs"},"datePublished":"2025-07-04T15:47:47Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6876"}
| 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:e29c6c16-8ac0-379d-9510-21daaa2501c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA60:301ABF:6B9A3C:902D5A:6B04A9D3 |
| html-safe-nonce | 98f39b29e9d5a6b976a20b6875fe1369b7df328d61e2c05a7c88cb0b639ee2c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTYwOjMwMUFCRjo2QjlBM0M6OTAyRDVBOjZCMDRBOUQzIiwidmlzaXRvcl9pZCI6IjM1MjE1MTgzOTg3NDE5ODE2NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4c707eb65473b34b98c1efaf3771f3adac07072257f5e033d101712dc22a22a3 |
| hovercard-subject-tag | issue:3203172529 |
| 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/6876/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bf0b9bc109a13a60ae1572ef039bed2259f11bc9a7dc6990a2529d33cb06f8ca/IfcOpenShell/IfcOpenShell/issues/6876 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bf0b9bc109a13a60ae1572ef039bed2259f11bc9a7dc6990a2529d33cb06f8ca/IfcOpenShell/IfcOpenShell/issues/6876 |
| og:image:alt | Bug Description open Test_03.ifc activate "LEVEL PLAN"-drawing press "Create Drawing"-button i see this error: Python: Traceback (most recent call last): File "C:\Users\Robert\AppData\Roaming\Blend... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | balrobs |
| 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