René's URL Explorer Experiment


Title: BlenderBim : Undoing a library addition doesn't fully remove element · Issue #1709 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: BlenderBim : Undoing a library addition doesn't fully remove element · Issue #1709 · IfcOpenShell/IfcOpenShell

X Title: BlenderBim : Undoing a library addition doesn't fully remove element · Issue #1709 · IfcOpenShell/IfcOpenShell

Description: Brand new file, Create Project Load library file (eg the demo library file) Append element (eg a beam type) It's successfully added to the scene and a new empty object is created Undo with CTRL Z The empty object is removed But the beam ...

Open Graph Description: Brand new file, Create Project Load library file (eg the demo library file) Append element (eg a beam type) It's successfully added to the scene and a new empty object is created Undo with CTRL Z T...

X Description: Brand new file, Create Project Load library file (eg the demo library file) Append element (eg a beam type) It's successfully added to the scene and a new empty object is created Undo with CTRL...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/1709

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BlenderBim : Undoing a library addition doesn't fully remove element","articleBody":"Brand new file,\r\n\r\n1. Create Project\r\n2. Load library file (eg the [demo library file](https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/blenderbim/libraries/blenderbim-demo-library.ifc))\r\n3. Append element (eg a beam type)\r\n![image](https://user-images.githubusercontent.com/25156105/131336322-b2ddeba1-b47a-4136-bcde-e97f081e98ed.png)\r\nIt's successfully added to the scene and a new empty object is created\r\n![image](https://user-images.githubusercontent.com/25156105/131336381-2f93403a-6cdf-42de-8386-4a2f47968002.png)\r\n4. Undo with CTRL Z\r\nThe empty object is removed\r\n![image](https://user-images.githubusercontent.com/25156105/131336422-0f9dcb85-bbc0-46f0-95ab-1e025c36a3db.png)\r\nBut the beam type is still available :\r\n![image](https://user-images.githubusercontent.com/25156105/131336464-fcacc059-a7ea-4fdb-81a6-356d207275de.png)\r\n5. Creating a new instance with SHIFT + A throws an error :\r\n```\r\nError: Python: Traceback (most recent call last):\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\workspace.py\", line 145, in \r\nexecute\r\n    return IfcStore.execute_ifc_operator(self, context)\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\ifc.py\", line 232, in execute_ifc_operator\r\n    result = getattr(operator, \"_execute\")(context)\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\workspace.py\", line 150, in \r\n_execute\r\n    getattr(self, f\"hotkey_{self.hotkey}\")()\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\workspace.py\", line 154, in \r\nhotkey_S_A\r\n    bpy.ops.bim.add_type_instance()\r\n  File \"c:\\Program Files (x86)\\Steam\\steamapps\\common\\Blender\\2.93\\scripts\\modules\\bpy\\ops.py\", line 132, in __call__\r\n    ret = _op_call(self.idname_py(), None, kw)\r\nRuntimeError: Error: Python: Traceback (most recent call last):\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\product.py\", line 67, in execute\r\n    return IfcStore.execute_ifc_operator(self, context)\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\ifc.py\", line 232, in execute_ifc_operator\r\n    result = getattr(operator, \"_execute\")(context)\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\product.py\", line 83, in _execute\r\n    if profile.DumbProfileGenerator(relating_type).generate():\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\profile.py\", line 124, in generate\r\n    return self.derive_from_cursor()\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\profile.py\", line 128, in derive_from_cursor\r\n    return self.create_profile()\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\model\\profile.py\", line 180, in create_profile\r\n    bpy.ops.bim.switch_representation(\r\n  File \"c:\\Program Files (x86)\\Steam\\steamapps\\common\\Blender\\2.93\\scripts\\modules\\bpy\\ops.py\", line 132, in __call__\r\n    ret = _op_call(self.idname_py(), None, kw)\r\nRuntimeError: Error: Python: Traceback (most recent call last):\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\geometry\\operator.py\", line 197, in execute\r\n    self.pull_mesh_from_ifc(context)\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\module\\geometry\\operator.py\", line 238, in pull_mesh_from_ifc\r\n    material_creator.create(element, self.element_obj, mesh)\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 76, in create       \r\n    self.add_default_material(element)\r\n  File \"C:\\Users\\Gorgious\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons\\blenderbim\\bim\\import_ifc.py\", line 95, in add_default_material\r\n    self.mesh.materials.append(self.materials[material.id()])\r\nKeyError: 72\r\n\r\nlocation: c:\\Program Files (x86)\\Steam\\steamapps\\common\\Blender\\2.93\\scripts\\modules\\bpy\\ops.py:132\r\n\r\n\r\n\r\nlocation: c:\\Program Files (x86)\\Steam\\steamapps\\common\\Blender\\2.93\\scripts\\modules\\bpy\\ops.py:132\r\n\r\n\r\n\r\nlocation: \u003cunknown location>:-1\r\n```\r\n\r\nBut does create a beam with correct type \r\n\r\n![image](https://user-images.githubusercontent.com/25156105/131336936-20fcadb4-a9e4-4fe8-8d72-e7bf390731a3.png)\r\n\r\nBut no parametric Pset :\r\n\r\n![image](https://user-images.githubusercontent.com/25156105/131337022-0c856a33-ca14-4409-86e8-d5a691e3b21f.png)\r\n\r\n\r\n","author":{"url":"https://github.com/Gorgious56","@type":"Person","name":"Gorgious56"},"datePublished":"2021-08-30T12:14:38Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/1709"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b4f14184-a2e8-06af-6ccd-14a0834a1e10
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE3DE:369B49:1804A9:2159E2:6B04B3FA
html-safe-noncef553fa38daaed93313ef523aef7315655e2019d4e0ce88408390709161381b59
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0RFOjM2OUI0OToxODA0QTk6MjE1OUUyOjZCMDRCM0ZBIiwidmlzaXRvcl9pZCI6IjExNDgzNzE2OTI5MjY4NDE4NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0a9fb60d0cd1feba18ada49d02784ccd7ce842c41400b6f29c55217e70cadf97
hovercard-subject-tagissue:982727624
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/1709/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e9bf1be21c2c3cdf319b1f6b7fc7813946fb47a93bf216fc45a744e27a486baf/IfcOpenShell/IfcOpenShell/issues/1709
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e9bf1be21c2c3cdf319b1f6b7fc7813946fb47a93bf216fc45a744e27a486baf/IfcOpenShell/IfcOpenShell/issues/1709
og:image:altBrand new file, Create Project Load library file (eg the demo library file) Append element (eg a beam type) It's successfully added to the scene and a new empty object is created Undo with CTRL Z T...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGorgious56
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb032e77f1ea437ede6c115446a0a467709b468e7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/1709#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F1709
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F1709
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1709
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1709
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1709
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests941 (941)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1709
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1709
BlenderBim : Undoing a library addition doesn't fully remove elementhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1709#top
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
https://github.com/Gorgious56
Gorgious56https://github.com/Gorgious56
on Aug 30, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#issue-982727624
demo library filehttps://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/blenderbim/libraries/blenderbim-demo-library.ifc
https://user-images.githubusercontent.com/25156105/131336322-b2ddeba1-b47a-4136-bcde-e97f081e98ed.png
https://user-images.githubusercontent.com/25156105/131336381-2f93403a-6cdf-42de-8386-4a2f47968002.png
https://user-images.githubusercontent.com/25156105/131336422-0f9dcb85-bbc0-46f0-95ab-1e025c36a3db.png
https://user-images.githubusercontent.com/25156105/131336464-fcacc059-a7ea-4fdb-81a6-356d207275de.png
https://user-images.githubusercontent.com/25156105/131336936-20fcadb4-a9e4-4fe8-8d72-e7bf390731a3.png
https://user-images.githubusercontent.com/25156105/131337022-0c856a33-ca14-4409-86e8-d5a691e3b21f.png
Gorgious56https://github.com/Gorgious56
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
on Aug 30, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#event-5225861276
Moulthttps://github.com/Moult
on Aug 31, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#event-5229318071
Add transaction support for adding elements. See #1709.https://github.com/IfcOpenShell/IfcOpenShell/commit/4accf306263f45671c845809a091bfcb8c165002
#1709https://github.com/IfcOpenShell/IfcOpenShell/issues/1709
4accf30https://github.com/IfcOpenShell/IfcOpenShell/commit/4accf306263f45671c845809a091bfcb8c165002
https://github.com/Moult
Moulthttps://github.com/Moult
on Aug 31, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#issuecomment-908801473
@aothmshttps://github.com/aothms
@aothmshttps://github.com/aothms
https://github.com/Moult
Moulthttps://github.com/Moult
on Sep 8, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#issuecomment-914836177
@aothmshttps://github.com/aothms
https://github.com/aothms
aothmshttps://github.com/aothms
on Sep 8, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#issuecomment-914975779
https://github.com/Moult
Moulthttps://github.com/Moult
on Sep 9, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#issuecomment-915907257
@aothmshttps://github.com/aothms
https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/file.py#L57https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/file.py#L57
https://github.com/aothms
aothmshttps://github.com/aothms
on Sep 9, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#issuecomment-915922891
https://github.com/Moult
Moulthttps://github.com/Moult
on Sep 9, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#issuecomment-915989176
Moulthttps://github.com/Moult
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
1d1e051https://github.com/IfcOpenShell/IfcOpenShell/commit/1d1e051e0f81fe2a327c74b62f1f5e7251d2f842
on Sep 21, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#event-5331854368
thorstenlanghttps://github.com/thorstenlang
on Jan 16, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/1709#event-15962866424
Fix IfcOpenShell#1709.https://github.com/thorstenlang/IfcOpenShell/commit/1d1e051e0f81fe2a327c74b62f1f5e7251d2f842
IfcOpenShell#1709https://github.com/IfcOpenShell/IfcOpenShell/issues/1709
https://docs.github.com/articles/closing-issues-via-commit-messages
1d1e051https://github.com/thorstenlang/IfcOpenShell/commit/1d1e051e0f81fe2a327c74b62f1f5e7251d2f842
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1709
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1709
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.