Title: If i try to import a schedule with `count` in it, it throws the following error. · Issue #7298 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: If i try to import a schedule with `count` in it, it throws the following error. · Issue #7298 · IfcOpenShell/IfcOpenShell
X Title: If i try to import a schedule with `count` in it, it throws the following error. · Issue #7298 · IfcOpenShell/IfcOpenShell
Description: Bug Description Not sure if this is a bug report or a feature request. If i try to import a schedule with count in it, it throws the following error. I would assume it should just ignore count when importing. Attachments {"query": "IfcDo...
Open Graph Description: Bug Description Not sure if this is a bug report or a feature request. If i try to import a schedule with count in it, it throws the following error. I would assume it should just ignore count when...
X Description: Bug Description Not sure if this is a bug report or a feature request. If i try to import a schedule with count in it, it throws the following error. I would assume it should just ignore count when...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7298
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"If i try to import a schedule with `count` in it, it throws the following error.","articleBody":"### Bug Description\n\nNot sure if this is a bug report or a feature request. \n\nIf i try to import a schedule with `count` in it, it throws the following error. \n\nI would assume it should just ignore `count` when importing. \n\n### Attachments\n\n`{\"query\": \"IfcDoor, query:\\\"EPset_Status.Status\\\"=\\\"NEW\\\"\", \"attributes\": [{\"name\": \"type.Name\", \"header\": \"TYPE MARK\", \"sort\": \"NONE\", \"group\": \"GROUP\", \"summary\": \"NONE\", \"formatting\": \"{{value}}\"}, {\"name\": \"type.Description\", \"header\": \"TYPE\", \"sort\": \"NONE\", \"group\": \"NONE\", \"summary\": \"NONE\", \"formatting\": \"{{value}}\"}, {\"name\": \"type.Qto_DoorBaseQuantities.Width\", \"header\": \"WIDTH\", \"sort\": \"NONE\", \"group\": \"NONE\", \"summary\": \"NONE\", \"formatting\": \"imperial_length({{value}}, 4, \\\"foot\\\", \\\"foot\\\")\"}, {\"name\": \"type.Qto_DoorBaseQuantities.Height\", \"header\": \"HEIGHT\", \"sort\": \"NONE\", \"group\": \"NONE\", \"summary\": \"NONE\", \"formatting\": \"imperial_length({{value}}, 4, \\\"foot\\\", \\\"foot\\\")\"}, {\"name\": \"OD_Generic.Comments_Type\", \"header\": \"TYPE COMMENTS\", \"sort\": \"NONE\", \"group\": \"NONE\", \"summary\": \"NONE\", \"formatting\": \"{{value}}\"}, {\"name\": \"count\", \"header\": \"COUNT\", \"sort\": \"NONE\", \"group\": \"SUM\", \"summary\": \"NONE\", \"formatting\": \"{{value}}\"}], \"settings\": {\"should_generate_svg\": false, \"should_preserve_existing\": false, \"include_global_id\": true, \"null_value\": \"-\", \"empty_value\": \"-\", \"true_value\": \"YES\", \"false_value\": \"NO\", \"concat_value\": \", \", \"csv_delimiter\": \",\", \"format\": \"ods\", \"csv_custom_delimiter\": \"\"}}`\n\n\u003cimg width=\"571\" height=\"414\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ed066033-ed64-4c31-ad4c-6c96248c0843\" />\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 158 Stepping 10, GenuineIntel\nblender_version: 4.5.2 LTS\nbonsai_version: 0.0.0\nbonsai_commit_hash: 4552af2\nbonsai_commit_date: 2025-10-28T13:04:45-05:00\nlast_actions: \n# ifcopenshell.api: pset.add_qto\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1389514, \"Name\": \"3680L\"}, \"name\": \"Qto_DoorBaseQuantities\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.add_qto\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 1390480, \"Name\": \"3680R\"}, \"name\": \"Qto_DoorBaseQuantities\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.add_qto\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 4105144, \"Name\": \"G3684R\"}, \"name\": \"Qto_DoorBaseQuantities\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.add_qto\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 3954062, \"Name\": \"GD108120\"}, \"name\": \"Qto_DoorBaseQuantities\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.add_pset\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 3951705, \"Name\": \"Door\"}, \"name\": \"OD_Generic\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.assign_pset\n>>> {}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 4399733, \"Name\": \"OD_Generic\"}, \"properties\": \"{'Comments_Type': 'MATCH RED TRIM'}\"}\n# ifcopenshell.api: pset.add_qto\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 3982438, \"Name\": \"GD96108\"}, \"name\": \"Qto_DoorBaseQuantities\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# operator: BIM_OT_import_ifccsv\n# ifcopenshell.api: pset.edit_qto\n>>> {\"qto\": {\"cast_type\": \"entity_instance\", \"value\": 4399725, \"Name\": \"Qto_DoorBaseQuantities\"}, \"properties\": \"{'Width': 4.0}\"}\n# ifcopenshell.api: pset.edit_qto\n>>> {\"qto\": {\"cast_type\": \"entity_instance\", \"value\": 4399725, \"Name\": \"Qto_DoorBaseQuantities\"}, \"properties\": \"{'Height': 7.0}\"}\n# operator: BIM_OT_import_ifccsv\n# operator: BIM_OT_import_ifccsv\nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\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\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\csv\\operator.py\", line 323, in _execute\n ifc_csv.Import(\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 422, in Import\n self.import_ods(ifc_file, table, attributes, null, empty, bool_true, bool_false, concat)\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 457, in import_ods\n self.import_pd(ifc_file, df, attributes, null, empty, bool_true, bool_false)\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 478, in import_pd\n self.process_row(ifc_file, row.tolist(), headers, attributes, null, empty, bool_true, bool_false, concat)\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifccsv.py\", line 509, in process_row\n ifcopenshell.util.selector.set_element_value(ifc_file, element, key, value, concat=concat)\n File \"C:\\Users\\Ryan Schultz\\AppData\\Roaming\\Blender Foundation\\Blender\\4.5\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\selector.py\", line 754, in set_element_value\n raise SetElementValueException(\nifcopenshell.util.selector.SetElementValueException: Failed to set value '7' for element '#3980362=IfcDoor('11uIdfSLD8sfEaGERp8Y_h',#3980361,'Door',$,$,#3980427,#3980370,$,$,$,$,$,$)' with query 'count' (invalid or unsupported query).\n\nifc: OD_Cool_Car_Guys.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.0.0\noriginating_system: Bonsai 0.8.4-alpha251028-4552af2\n```\n\n\n\u003cimg width=\"1062\" height=\"202\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/123a711d-a700-4c8a-b0ee-7b40f8ff35f0\" />","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2025-10-29T01:55:34Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7298"}
| 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:3f84745d-2ece-5b62-5198-be762cd37204 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E80:1D1028:1A09D7:23F734:6B04B469 |
| html-safe-nonce | 65474d1d21967aeca914a1b6a6d1ec5c8ed4006afdab49db9d34346993b875be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTgwOjFEMTAyODoxQTA5RDc6MjNGNzM0OjZCMDRCNDY5IiwidmlzaXRvcl9pZCI6Ijc4MzQ3NjEzNTE4MTcxMTQ3MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 10b01a50ab03b95ee30a2c55203ac1ee105b3f69d6833be4f9b33d0235ac6f8f |
| hovercard-subject-tag | issue:3564022650 |
| 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/7298/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2a8cefcc4421f4be684a74d9981991636cdeb1cbab7c23e849522d034a74f207/IfcOpenShell/IfcOpenShell/issues/7298 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2a8cefcc4421f4be684a74d9981991636cdeb1cbab7c23e849522d034a74f207/IfcOpenShell/IfcOpenShell/issues/7298 |
| og:image:alt | Bug Description Not sure if this is a bug report or a feature request. If i try to import a schedule with count in it, it throws the following error. I would assume it should just ignore count when... |
| 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