Title: no Ifc project hierrachy in the blender Outliner · Issue #10241 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: no Ifc project hierrachy in the blender Outliner · Issue #10241 · IfcOpenShell/IfcOpenShell
X Title: no Ifc project hierrachy in the blender Outliner · Issue #10241 · IfcOpenShell/IfcOpenShell
Description: Bug Description actually quite easy to fix.. I ran this code project_col = bpy.data.collections['IfcProject/{}'.format(project.Name)] site_col = bpy.data.collections['IfcSite/{}'.format(site.Name)] building_col = bpy.data.collections['If...
Open Graph Description: Bug Description actually quite easy to fix.. I ran this code project_col = bpy.data.collections['IfcProject/{}'.format(project.Name)] site_col = bpy.data.collections['IfcSite/{}'.format(site.Name)]...
X Description: Bug Description actually quite easy to fix.. I ran this code project_col = bpy.data.collections['IfcProject/{}'.format(project.Name)] site_col = bpy.data.collections['IfcSite/{}'.fo...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10241
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"no Ifc project hierrachy in the blender Outliner","articleBody":"### Bug Description\n\nactually quite easy to fix.. I ran this code \n```\n project_col = bpy.data.collections['IfcProject/{}'.format(project.Name)]\n site_col = bpy.data.collections['IfcSite/{}'.format(site.Name)]\n building_col = bpy.data.collections['IfcBuilding/{}'.format(building.Name)]\n storey_col = bpy.data.collections['IfcBuildingStorey/{}'.format(storey.Name)]\n\n # Remove building and storey from project\n project_col.children.unlink(building_col)\n project_col.children.unlink(storey_col)\n\n # Nest building inside site\n site_col.children.link(building_col)\n\n # Nest storey inside building\n building_col.children.link(storey_col)\n```\nand it fixed the problem. I save the Ifc project and when I re-open - the hierarchy is not restored.. I have to run the same code again to restore the hierarchy. I tried opening a new Ifc project from fresh blender run and no hierarchy. I tried opening a new Ifc project from Scene/Project Overview / New Project Wizard / Create Project and no hierarchy.\n\nThe documentation and the logic of the Ifc project say that there should be a hierarchy. The hierarchy is present in the Ifc file so thats ok, its just that the blender collections have not been assigned correctly when a new project is created or a project is loaded..\n\n blender version - 5.3\n bonsai version - 0.9.1\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/peteasa","@type":"Person","name":"peteasa"},"datePublished":"2026-11-17T21:52:41Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10241"}
| 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:15763179-e49d-cb5b-edfb-0d38b380ddf3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5B2:12D34E:16C0C2:1F549B:6B0465C7 |
| html-safe-nonce | 56dd7381e5253ab06804c8261d369b6a06debedf01b01552cdd62100c0b74ab0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUIyOjEyRDM0RToxNkMwQzI6MUY1NDlCOjZCMDQ2NUM3IiwidmlzaXRvcl9pZCI6Ijg2OTc1Mjc1NTc1MzQ1NDEyNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b82c5f868b3d5c08f357a8bf1c70084ad342b6866ad5b44304a8b0c29c382fb4 |
| hovercard-subject-tag | issue:6454899217 |
| 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/10241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8543ba826eaf9b733f8fddbc8d93bd7fccb64bce85acf2a4946f45f87349f507/IfcOpenShell/IfcOpenShell/issues/10241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8543ba826eaf9b733f8fddbc8d93bd7fccb64bce85acf2a4946f45f87349f507/IfcOpenShell/IfcOpenShell/issues/10241 |
| og:image:alt | Bug Description actually quite easy to fix.. I ran this code project_col = bpy.data.collections['IfcProject/{}'.format(project.Name)] site_col = bpy.data.collections['IfcSite/{}'.format(site.Name)]... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | peteasa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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