Title: HighPoly MRI sketchup model to IfcMedicalDeviceType Creation · Issue #7566 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: HighPoly MRI sketchup model to IfcMedicalDeviceType Creation · Issue #7566 · IfcOpenShell/IfcOpenShell
X Title: HighPoly MRI sketchup model to IfcMedicalDeviceType Creation · Issue #7566 · IfcOpenShell/IfcOpenShell
Description: Bug Description While I was trying to create an LOD 400 IfcMedicalDeviceType from an imported high poly sketchup model I got the error message in Debug and Error Output. I have a base ifc model exported from Revit but that is not the cau...
Open Graph Description: Bug Description While I was trying to create an LOD 400 IfcMedicalDeviceType from an imported high poly sketchup model I got the error message in Debug and Error Output. I have a base ifc model exp...
X Description: Bug Description While I was trying to create an LOD 400 IfcMedicalDeviceType from an imported high poly sketchup model I got the error message in Debug and Error Output. I have a base ifc model exp...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7566
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HighPoly MRI sketchup model to IfcMedicalDeviceType Creation","articleBody":"### Bug Description\n\nWhile I was trying to create an LOD 400 IfcMedicalDeviceType from an imported high poly sketchup model I got the error message in Debug and Error Output. I have a base ifc model exported from Revit but that is not the cause of this bug as it happened when I tried to do the same in a fresh IfcProject.\n\n\u003cimg width=\"1178\" height=\"892\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/5e381885-59ee-430d-8c1e-995766cf87d8\" />\n\n### Attachments\n\n[IHFM_bug-ifcToTxt.txt](https://github.com/user-attachments/files/24680371/IHFM_bug-ifcToTxt.txt)\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.26200\npython_version: 3.11.13\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: AMD64 Family 25 Model 117 Stepping 2, AuthenticAMD\nblender_version: 5.0.1\nbonsai_version: 0.8.4\nbonsai_commit_hash: None\nbonsai_commit_date: None\nlast_actions: \n# ifcopenshell.api: geometry.map_representation\n>>> {\"representation\": {\"cast_type\": \"entity_instance\", \"value\": 31490, \"Name\": null}}\n# ifcopenshell.api: geometry.assign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 31514, \"Name\": \"MedicalDevice\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 31521, \"Name\": null}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 31514, \"Name\": \"MedicalDevice\"}}\n# ifcopenshell.api: spatial.assign_container\n>>> {\"products\": [{\"cast_type\": \"entity_instance\", \"value\": 31514, \"Name\": \"MedicalDevice\"}], \"relating_structure\": {\"cast_type\": \"entity_instance\", \"value\": 35, \"Name\": \"Zemin Kat\"}}\n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 31514, \"Name\": \"MedicalDevice\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[1.0, 0.0, 0.0, 16.602691650390625], [0.0, 1.0, 0.0, 16.43398666381836], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 31514, \"Name\": \"MedicalDevice\"}}\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\n# operator: BIM_OT_draw_occurrence\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\mct\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\ifc.py\", line 526, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\mct\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\geometry\\operator.py\", line 913, in _execute\n tool.Geometry.delete_ifc_object(obj)\n File \"C:\\Users\\mct\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\tool\\geometry.py\", line 300, in delete_ifc_object\n ifcopenshell.api.root.remove_product(ifc_file, product=element)\n File \"C:\\Users\\mct\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\api\\__init__.py\", line 275, in wrapper\n result = usecase(*args, **settings)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\mct\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\api\\root\\remove_product.py\", line 220, in remove_product\n history = product.OwnerHistory\n ^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\mct\\AppData\\Roaming\\Blender Foundation\\Blender\\5.0\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\entity_instance.py\", line 263, in __getattr__\n raise AttributeError(\nAttributeError: entity instance of type 'IFC4.IfcQuantityArea' has no attribute 'OwnerHistory'\n\nifc: IHFM.ifc\nschema: IFC4\npreprocessor_version: ODA SDAI 24.6\noriginating_system: Autodesk Revit 24.3.30.11 (ENU) - IFC 24.3.30.11\n```","author":{"url":"https://github.com/ruornil","@type":"Person","name":"ruornil"},"datePublished":"2026-01-16T19:07:28Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7566"}
| 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:7dfbc72d-a2ac-d539-457a-38c5f009d624 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0FC:63337:6625A8:8FE1A1:6B04780F |
| html-safe-nonce | efcc8bbcc05d1716f162e7dcaff1263bc83e027113faca030fdf7b1de8167386 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEZDOjYzMzM3OjY2MjVBODo4RkUxQTE6NkIwNDc4MEYiLCJ2aXNpdG9yX2lkIjoiNzcxODk0MDU5NjUzODQ3MjQ2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | baea7d857712d5e094133c065264554888e27b7028663f3f86c0afb6a8e1bc83 |
| hovercard-subject-tag | issue:3823257097 |
| 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/7566/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a5074a804455a3b1d6ad5178066bf319366e8cdd03fe573cbe59b0e9665bd8da/IfcOpenShell/IfcOpenShell/issues/7566 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5074a804455a3b1d6ad5178066bf319366e8cdd03fe573cbe59b0e9665bd8da/IfcOpenShell/IfcOpenShell/issues/7566 |
| og:image:alt | Bug Description While I was trying to create an LOD 400 IfcMedicalDeviceType from an imported high poly sketchup model I got the error message in Debug and Error Output. I have a base ifc model exp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ruornil |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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