Title: Bonsai v0.8.0 - error when assigning space tag · Issue #5300 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai v0.8.0 - error when assigning space tag · Issue #5300 · IfcOpenShell/IfcOpenShell
X Title: Bonsai v0.8.0 - error when assigning space tag · Issue #5300 · IfcOpenShell/IfcOpenShell
Description: Windows 10 these versions: When assigning or just adding any tag to a plan I get this error: Python: Traceback (most recent call last): File "C:\Users\user-pc\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\.local\lib\python3.1...
Open Graph Description: Windows 10 these versions: When assigning or just adding any tag to a plan I get this error: Python: Traceback (most recent call last): File "C:\Users\user-pc\AppData\Roaming\Blender Foundation\Ble...
X Description: Windows 10 these versions: When assigning or just adding any tag to a plan I get this error: Python: Traceback (most recent call last): File "C:\Users\user-pc\AppData\Roaming\Blender Foundatio...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5300
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai v0.8.0 - error when assigning space tag","articleBody":"Windows 10\r\nthese versions:\r\n\r\n\r\nWhen assigning or just adding any tag to a plan I get this error:\r\n\r\n```\r\nPython: Traceback (most recent call last):\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 408, in execute_ifc_operator\r\n result = getattr(operator, \"_execute\")(context)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\workspace.py\", line 278, in _execute\r\n getattr(self, f\"hotkey_{self.hotkey}\")()\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\workspace.py\", line 298, in hotkey_S_T\r\n create_annotation()\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\workspace.py\", line 184, in create_annotation\r\n create_annotation_occurrence(bpy.context)\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\drawing\\workspace.py\", line 171, in create_annotation_occurrence\r\n bonsai.core.type.assign_type(tool.Ifc, tool.Type, element=element, type=relating_type)\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\core\\type.py\", line 39, in assign_type\r\n type_tool.change_object_data(obj, type_data, is_global=False)\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\type.py\", line 33, in change_object_data\r\n tool.Geometry.change_object_data(obj, data, is_global)\r\n File \"C:\\Users\\user-pc\\AppData\\Roaming\\Blender Foundation\\Blender\\4.2\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\geometry.py\", line 54, in change_object_data\r\n obj.data = data\r\n ^^^^^^^^\r\nTypeError: bpy_struct: item.attr = val: Object.data expected a Image type, not Mesh\r\n```\r\n\r\nThe Empty for the tag loads but no preview and it breaks printing to SVG, if they are removed from the drawing printing works again\r\n\r\nYou can still manually create a smart tag without error:\r\n\r\n\r\n","author":{"url":"https://github.com/Plae-Blue-Dot","@type":"Person","name":"Plae-Blue-Dot"},"datePublished":"2024-09-04T09:47:27Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5300"}
| 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:41672566-2ec6-ab32-86d4-ea0bcefb8403 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E86:91084:7ECA81:AD78BA:6B047CBC |
| html-safe-nonce | 204fea24c2ed869756b9111eb0a1411efe3dfe46bd794b5f5c9ac03eaaceb105 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTg2OjkxMDg0OjdFQ0E4MTpBRDc4QkE6NkIwNDdDQkMiLCJ2aXNpdG9yX2lkIjoiOTQ3NDI1NzI5NTE4NTMzODIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e18bbccf872f48d2d5d49fa4e4243e0c6845bd768a0f020a0077034caca51b4b |
| hovercard-subject-tag | issue:2504834979 |
| 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/5300/issue_layout |
| twitter:image | https://opengraph.githubassets.com/128f8d76f896d2c431822e19e9ee14c1e209ea2c5e121e668ef553a74ece55ff/IfcOpenShell/IfcOpenShell/issues/5300 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/128f8d76f896d2c431822e19e9ee14c1e209ea2c5e121e668ef553a74ece55ff/IfcOpenShell/IfcOpenShell/issues/5300 |
| og:image:alt | Windows 10 these versions: When assigning or just adding any tag to a plan I get this error: Python: Traceback (most recent call last): File "C:\Users\user-pc\AppData\Roaming\Blender Foundation\Ble... |
| 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 | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| 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