Title: IFC CSV - cannot import CSV to IFC · Issue #3192 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: IFC CSV - cannot import CSV to IFC · Issue #3192 · IfcOpenShell/IfcOpenShell
X Title: IFC CSV - cannot import CSV to IFC · Issue #3192 · IfcOpenShell/IfcOpenShell
Description: The "Import CSV to IFC" function doesn't work. Example method: Use the "Export IFC to CSV" function to export a simple CSV with eg. just the names of walls Make a change, eg. the name of a wall Save file and try to use the 'Import CSV to...
Open Graph Description: The "Import CSV to IFC" function doesn't work. Example method: Use the "Export IFC to CSV" function to export a simple CSV with eg. just the names of walls Make a change, eg. the name of a wall Sav...
X Description: The "Import CSV to IFC" function doesn't work. Example method: Use the "Export IFC to CSV" function to export a simple CSV with eg. just the names of walls Make a change, eg...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/3192
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IFC CSV - cannot import CSV to IFC","articleBody":"The \"Import CSV to IFC\" function doesn't work.\r\nExample method:\r\n- Use the \"Export IFC to CSV\" function to export a simple CSV with eg. just the names of walls\r\n- Make a change, eg. the name of a wall\r\n- Save file and try to use the 'Import CSV to IFC' function\r\n- Error I get:\r\n```\r\nPython: Traceback (most recent call last):\r\n File \"/Users/.../Library/Application Support/Blender/3.5/scripts/addons/blenderbim/bim/module/csv/operator.py\", line 190, in execute\r\n ifc_csv.Import(ifc_file)\r\n File \"/Users/.../Library/Application Support/Blender/3.5/scripts/addons/blenderbim/libs/site/packages/ifccsv.py\", line 285, in Import\r\n element = IfcAttributeSetter.set_element_key(ifc_file, element, headers[i], value)\r\n File \"/Users/.../Library/Application Support/Blender/3.5/scripts/addons/blenderbim/libs/site/packages/ifccsv.py\", line 49, in set_element_key\r\n return ifcopenshell.util.schema.reassign_class(ifc_file, element, value)\r\n File \"/Users/.../Library/Application Support/Blender/3.5/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/util/schema.py\", line 76, in reassign_class\r\n for attribute in declaration.all_attributes():\r\nUnboundLocalError: local variable 'declaration' referenced before assignment\r\n```\r\n","author":{"url":"https://github.com/mdjska","@type":"Person","name":"mdjska"},"datePublished":"2023-05-24T10:25:13Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/3192"}
| 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:170213f0-1d73-07c5-7ce2-88760a98735f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD8E:321110:60272F:8732E2:6B0476EA |
| html-safe-nonce | 973bb7d285621ec3f070c95effb59b51c85fad6858ab2ec8e621ea16b07f8507 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDhFOjMyMTExMDo2MDI3MkY6ODczMkUyOjZCMDQ3NkVBIiwidmlzaXRvcl9pZCI6IjYzODA2MzkyNDEwNTUyNzA2MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2d9a821a307ce2172e7d9c3532d5e5a02680945badda939b0d678b8069d5a576 |
| hovercard-subject-tag | issue:1723663580 |
| 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/3192/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e9237103f7c24d8fa47b8eda3ad36ffe26d27d8894d2e2820e91984be8ab584/IfcOpenShell/IfcOpenShell/issues/3192 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e9237103f7c24d8fa47b8eda3ad36ffe26d27d8894d2e2820e91984be8ab584/IfcOpenShell/IfcOpenShell/issues/3192 |
| og:image:alt | The "Import CSV to IFC" function doesn't work. Example method: Use the "Export IFC to CSV" function to export a simple CSV with eg. just the names of walls Make a change, eg. the name of a wall Sav... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdjska |
| 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