Title: Child aggregate disappears with `bim.refresh_aggregate` · Issue #3817 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Child aggregate disappears with `bim.refresh_aggregate` · Issue #3817 · IfcOpenShell/IfcOpenShell
X Title: Child aggregate disappears with `bim.refresh_aggregate` · Issue #3817 · IfcOpenShell/IfcOpenShell
Description: If I bim.refresh_aggregate either child aggregate, I get the following error and the child aggregate disappears. File: Highland_Haven_aggregate.ifc.txt Python: Traceback (most recent call last): File "C:\Users\Owner\AppData\Roaming\Blend...
Open Graph Description: If I bim.refresh_aggregate either child aggregate, I get the following error and the child aggregate disappears. File: Highland_Haven_aggregate.ifc.txt Python: Traceback (most recent call last): Fi...
X Description: If I bim.refresh_aggregate either child aggregate, I get the following error and the child aggregate disappears. File: Highland_Haven_aggregate.ifc.txt Python: Traceback (most recent call last): Fi...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/3817
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Child aggregate disappears with `bim.refresh_aggregate`","articleBody":"If I `bim.refresh_aggregate` either child aggregate, I get the following error and the child aggregate disappears.\r\n\r\n\r\nFile: \r\n\r\n[Highland_Haven_aggregate.ifc.txt](https://github.com/IfcOpenShell/IfcOpenShell/files/12744831/Highland_Haven_aggregate.ifc.txt)\r\n\r\n\r\n\r\n\r\n```\r\nPython: Traceback (most recent call last):\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\geometry\\operator.py\", line 1168, in execute\r\n IfcStore.execute_ifc_operator(self, context)\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\ifc.py\", line 336, in execute_ifc_operator\r\n result = getattr(operator, \"_execute\")(context)\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\geometry\\operator.py\", line 1287, in _execute\r\n duplicate_children(parent)\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\geometry\\operator.py\", line 1210, in duplicate_children\r\n new_part = duplicate_objects(part_obj)\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\bim\\module\\geometry\\operator.py\", line 1231, in duplicate_objects\r\n new_entity = blenderbim.core.root.copy_class(\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\core\\root.py\", line 34, in copy_class\r\n root.link_object_data(ifc.get_object(relating_type), obj)\r\n File \"C:\\Users\\Owner\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\addons\\blenderbim\\tool\\root.py\", line 135, in link_object_data\r\n destination_obj.data = source_obj.data\r\nAttributeError: 'NoneType' object has no attribute 'data'\r\n\r\n```\r\n\r\n","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2023-09-28T02:02:41Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/3817"}
| 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:07c7bed7-7077-c9aa-d9b6-b204266efaa6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B53A:3FAE88:1B989C:25E8EF:6B04B4A3 |
| html-safe-nonce | 68671018fb50420bbadb1c4f356ee427822ee2f092ed44ba1738767c0526ed3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTNBOjNGQUU4ODoxQjk4OUM6MjVFOEVGOjZCMDRCNEEzIiwidmlzaXRvcl9pZCI6IjIzODQxMzM0NzQ0NzE5NDk0NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f01ea2d41f79d2b53fbc4cde5dd22d15389608eee942f621524b53817356c7bd |
| hovercard-subject-tag | issue:1916587323 |
| 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/3817/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8abad2127808d04f4edea843e5dc158382dd175d880075663b40f11e4e536462/IfcOpenShell/IfcOpenShell/issues/3817 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8abad2127808d04f4edea843e5dc158382dd175d880075663b40f11e4e536462/IfcOpenShell/IfcOpenShell/issues/3817 |
| og:image:alt | If I bim.refresh_aggregate either child aggregate, I get the following error and the child aggregate disappears. File: Highland_Haven_aggregate.ifc.txt Python: Traceback (most recent call last): Fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theoryshaw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| 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 | b032e77f1ea437ede6c115446a0a467709b468e7 |
| 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