Title: Bonsai - Level (Section) disappears once Activate Drawing is selected · Issue #7450 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai - Level (Section) disappears once Activate Drawing is selected · Issue #7450 · IfcOpenShell/IfcOpenShell
X Title: Bonsai - Level (Section) disappears once Activate Drawing is selected · Issue #7450 · IfcOpenShell/IfcOpenShell
Description: Bug Description When creating a Level in a Section drawing, it disappears once I Activate Drawing. If I Create Drawing and Open Drawing (without first Activating Drawing), the Level line shows up, but as soon as I Activate Drawing, it di...
Open Graph Description: Bug Description When creating a Level in a Section drawing, it disappears once I Activate Drawing. If I Create Drawing and Open Drawing (without first Activating Drawing), the Level line shows up, ...
X Description: Bug Description When creating a Level in a Section drawing, it disappears once I Activate Drawing. If I Create Drawing and Open Drawing (without first Activating Drawing), the Level line shows up, ...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7450
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai - Level (Section) disappears once Activate Drawing is selected","articleBody":"### Bug Description\n\nWhen creating a Level in a Section drawing, it disappears once I Activate Drawing. If I Create Drawing and Open Drawing (without first Activating Drawing), the Level line shows up, but as soon as I Activate Drawing, it disappears. There is no error message. \n\nInterestingly, it happens if I add a Level (Section) line to either a Section drawing, or a Plan drawing, but I can add a Level (Plan) line to either a Section drawing or a Plan drawing, and it works just fine.\n\nIf tried this using Bonsai v0.8.5 - alpha251204 in both Blender 4.5.5 and Blender 5.0\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.19045\npython_version: 3.11.11\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 63 Stepping 2, GenuineIntel\nblender_version: 4.5.5 LTS\nbonsai_version: 0.8.5-alpha251204\nbonsai_commit_hash: 0555523\nbonsai_commit_date: 2025-12-04T19:59:07+05:00\nlast_actions: \n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 7217, \"Name\": \"SECTION_LEVEL\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[-2.220446049250313e-16, 0.0, -1.0, 1.7341488599777222], [-1.0, -2.220446049250313e-16, 0.0, 6.264529228210449], [0.0, 1.0, -2.220446049250313e-16, 4.391310691833496], [0.0, 0.0, 0.0, 1.0]]}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 7217, \"Name\": \"SECTION_LEVEL\"}}\n# ifcopenshell.api: geometry.add_representation\n>>> {\"context\": {\"cast_type\": \"entity_instance\", \"value\": 27, \"Name\": null}, \"blender_object\": \"\u003cbpy_struct, Object(\\\"IfcAnnotation/SECTION_LEVEL\\\") at 0x000001D84B200F08>\", \"geometry\": \"\u003cbpy_struct, Curve(\\\"SECTION_LEVEL.026\\\") at 0x000001D825F78708>\", \"coordinate_offset\": \"None\", \"total_items\": \"1\", \"should_force_faceted_brep\": \"False\", \"should_force_triangulation\": \"False\", \"should_generate_uvs\": \"False\", \"ifc_representation_class\": \"\", \"profile_set_usage\": \"None\"}\n# ifcopenshell.api: geometry.assign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 7217, \"Name\": \"SECTION_LEVEL\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 7226, \"Name\": null}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 7217, \"Name\": \"SECTION_LEVEL\"}}\n# ifcopenshell.api: group.assign_group\n>>> {\"group\": {\"cast_type\": \"entity_instance\", \"value\": 6687, \"Name\": \"EAST SECTION\"}, \"products\": [{\"cast_type\": \"entity_instance\", \"value\": 7217, \"Name\": \"SECTION_LEVEL\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 6688, \"Name\": null}}\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_import_representation_items\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_object\n# operator: BIM_OT_override_mode_set_edit\n# operator: BIM_OT_override_mode_set_edit\n# ifcopenshell.api: geometry.validate_type\n>>> {}\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\": 6689, \"Name\": \"EPset_Drawing\"}, \"properties\": \"{'CurrentShadingStyle': 'Blender Default'}\"}\n# ifcopenshell.api: root.remove_product\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 7217, \"Name\": \"SECTION_LEVEL\"}}\n# ifcopenshell.api: geometry.unassign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 7217, \"Name\": \"SECTION_LEVEL\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 7226, \"Name\": null}}\n# ifcopenshell.api: geometry.remove_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 7226, \"Name\": null}}\nlast_error: None\nblend_file_path: Not saved\nblend_file_dirty: N/A\nifc_file_path: C:/Users/User/OneDrive/Documents/Test.ifc\nifc_is_dirty: True\nifc: Test.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.4\noriginating_system: Bonsai 0.8.4\n```","author":{"url":"https://github.com/SPQ695","@type":"Person","name":"SPQ695"},"datePublished":"2025-12-05T20:47:38Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7450"}
| 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:e86b0c06-9512-f8a7-b410-42615f125abd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5C4:352FD7:3E4F1:56C3A:6B04AA0B |
| html-safe-nonce | 6ccc18dbe6051e1074d4e5002f9e34a954177c6ee2806018817428d710876baf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUM0OjM1MkZENzozRTRGMTo1NkMzQTo2QjA0QUEwQiIsInZpc2l0b3JfaWQiOiIzMjY5NTc2NDg0NzQyMDE1NDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d0a3a54e7b483016165741fffab55c048ac1e2376677b3e0749e98d1b3a211b5 |
| hovercard-subject-tag | issue:3700312260 |
| 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/7450/issue_layout |
| twitter:image | https://opengraph.githubassets.com/20d3d276921d865642d6eed997dbb7f27c0696cd26546af871fc16bcdd6e1f61/IfcOpenShell/IfcOpenShell/issues/7450 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20d3d276921d865642d6eed997dbb7f27c0696cd26546af871fc16bcdd6e1f61/IfcOpenShell/IfcOpenShell/issues/7450 |
| og:image:alt | Bug Description When creating a Level in a Section drawing, it disappears once I Activate Drawing. If I Create Drawing and Open Drawing (without first Activating Drawing), the Level line shows up, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SPQ695 |
| 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