Title: ExtractElements dangerous default `assume_asset_uniqueness_by_name: bool = True` without a way to override from cli? · Issue #8045 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: ExtractElements dangerous default `assume_asset_uniqueness_by_name: bool = True` without a way to override from cli? · Issue #8045 · IfcOpenShell/IfcOpenShell
X Title: ExtractElements dangerous default `assume_asset_uniqueness_by_name: bool = True` without a way to override from cli? · Issue #8045 · IfcOpenShell/IfcOpenShell
Description: Bug Description I have a file from allplan that apparently has all profile name strings as '' #297=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,'',#296); Given the defaults IfcOpenShell/src/ifcpatch/ifcpatch/recipes/ExtractElements.py Line 36 in ...
Open Graph Description: Bug Description I have a file from allplan that apparently has all profile name strings as '' #297=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,'',#296); Given the defaults IfcOpenShell/src/ifcpatch/ifcpatc...
X Description: Bug Description I have a file from allplan that apparently has all profile name strings as '' #297=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,'',#296); Given the defaults IfcOpenShell/src/...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8045
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ExtractElements dangerous default `assume_asset_uniqueness_by_name: bool = True` without a way to override from cli?","articleBody":"### Bug Description\n\nI have a file from allplan that apparently has all profile name strings as `''`\n\n #297=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,'',#296);\n\nGiven the defaults\n\nhttps://github.com/IfcOpenShell/IfcOpenShell/blob/47312e1fbb2c7cf8b4899a9638d94e35732142d5/src/ifcpatch/ifcpatch/recipes/ExtractElements.py#L36\n\nThis causes every profile definition to be folded into one arbitrary profile, heavily distorting geometry without a single warning.\n\nI'm fine with any of the following options, but I wanted to quickly touch base as I normally don't touch ifccpatch:\n\n- named arguments from the recipe: `python -m ifcpatch -r ExtractElements -i .\\bla.ifc -a '\u003cguid>' -o extracted.ifc --assume_asset_uniqueness_by_name=0`\n- change this behaviour in append_asset to not apply this behaviour when the name is empty\n- a more reliable identity definition by means of entity_instance.get_info(recursive=True)\n- change the default to false\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/aothms","@type":"Person","name":"aothms"},"datePublished":"2026-05-10T19:28:35Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8045"}
| 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:6402cba6-df2e-6052-27df-5de79b4aff0f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 819E:99B56:87A828:BE2DB0:6B048175 |
| html-safe-nonce | 6891cde972958f4f48cead27b0d5ba1772ac0d2c2c68fe00b2c85ee3cc7c4769 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTlFOjk5QjU2Ojg3QTgyODpCRTJEQjA6NkIwNDgxNzUiLCJ2aXNpdG9yX2lkIjoiMzY4NzkwOTYxMDc5MjE5MDMyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 070efd6d95422cdba0c7b4093a3f43e50a50a49a65f4df32b917cdbd1dcb0a83 |
| hovercard-subject-tag | issue:4416597618 |
| 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/8045/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b5d2f1cbb3e41aecc555cb5c734b1fdbe0abf3b5eae316dd6aa5381e6e79c083/IfcOpenShell/IfcOpenShell/issues/8045 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b5d2f1cbb3e41aecc555cb5c734b1fdbe0abf3b5eae316dd6aa5381e6e79c083/IfcOpenShell/IfcOpenShell/issues/8045 |
| og:image:alt | Bug Description I have a file from allplan that apparently has all profile name strings as '' #297=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,'',#296); Given the defaults IfcOpenShell/src/ifcpatch/ifcpatc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aothms |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| 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