René's URL Explorer Experiment


Title: Error thrown when adding reference images to plan view · Issue #8130 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Error thrown when adding reference images to plan view · Issue #8130 · IfcOpenShell/IfcOpenShell

X Title: Error thrown when adding reference images to plan view · Issue #8130 · IfcOpenShell/IfcOpenShell

Description: Bug Description Create a new plan view, activate it. Select annotation tool, select type of image. Click add, see than Bonsai throws an error. Following the video in this linked comment reproduces the error for me: #7070 (comment) Attach...

Open Graph Description: Bug Description Create a new plan view, activate it. Select annotation tool, select type of image. Click add, see than Bonsai throws an error. Following the video in this linked comment reproduces ...

X Description: Bug Description Create a new plan view, activate it. Select annotation tool, select type of image. Click add, see than Bonsai throws an error. Following the video in this linked comment reproduces ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error thrown when adding reference images to plan view","articleBody":"### Bug Description\n\n1. Create a new plan view, activate it.\n2. Select annotation tool, select type of `image`.\n3. Click add, see than Bonsai throws an error.\n\nFollowing the video in this linked comment reproduces the error for me:\nhttps://github.com/IfcOpenShell/IfcOpenShell/issues/7070#issuecomment-3238134343\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Linux\nos_version: #1 SMP PREEMPT_DYNAMIC Fri May 15 14:03:46 UTC 2026\npython_version: 3.13.9\narchitecture: ('64bit', 'ELF')\nmachine: x86_64\nprocessor: \nblender_version: 5.1.2\nbonsai_version: 0.8.5\nbonsai_commit_hash: None\nbonsai_commit_date: None\nbonsai_git_branch: None\nlast_actions: \n# ifcopenshell.api: geometry.add_representation\n>>> {\"context\": {\"cast_type\": \"entity_instance\", \"value\": 25, \"Name\": null}, \"blender_object\": \"\u003cbpy_struct, Object(\\\"IfcAnnotation/IMAGE\\\") at 0x7f04172ccf08>\", \"geometry\": \"\u003cbpy_struct, Mesh(\\\"IMAGE\\\") at 0x7f03ab260b88>\", \"coordinate_offset\": \"None\", \"total_items\": \"1\", \"should_force_faceted_brep\": \"False\", \"should_force_triangulation\": \"False\", \"should_generate_uvs\": \"False\", \"ifc_representation_class\": \"\", \"profile_set_usage\": \"None\"}\n# ifcopenshell.api: geometry.assign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 257, \"Name\": null}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}}\n# ifcopenshell.api: group.assign_group\n>>> {\"group\": {\"cast_type\": \"entity_instance\", \"value\": 75, \"Name\": \"PLAN_VIEW\"}, \"products\": [{\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 76, \"Name\": null}}\n# operator: BIM_OT_load_drawings\n# operator: BIM_OT_activate_drawing\n# operator: BIM_OT_activate_drawing_style\n# ifcopenshell.api: pset.edit_pset\n>>> {\"pset\": {\"cast_type\": \"entity_instance\", \"value\": 77, \"Name\": \"EPset_Drawing\"}, \"properties\": \"{'CurrentShadingStyle': 'Blender Default'}\"}\n# operator: BIM_OT_annotation_hotkey\n# operator: BIM_OT_add_annotation\n# ifcopenshell.api: root.create_entity\n>>> {\"ifc_class\": \"IfcAnnotation\", \"predefined_type\": \"IMAGE\", \"name\": \"IMAGE\"}\n# ifcopenshell.api: owner.create_owner_history\n>>> {}\n# ifcopenshell.api: geometry.edit_object_placement\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}, \"matrix\": {\"cast_type\": \"ndarray\", \"value\": [[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.6768742799758911], [0.0, 0.0, 0.0, 1.0]]}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}}\n# ifcopenshell.api: geometry.add_representation\n>>> {\"context\": {\"cast_type\": \"entity_instance\", \"value\": 25, \"Name\": null}, \"blender_object\": \"\u003cbpy_struct, Object(\\\"IfcAnnotation/IMAGE\\\") at 0x7f039276cf08>\", \"geometry\": \"\u003cbpy_struct, Mesh(\\\"IMAGE\\\") at 0x7f0394e9a088>\", \"coordinate_offset\": \"None\", \"total_items\": \"1\", \"should_force_faceted_brep\": \"False\", \"should_force_triangulation\": \"False\", \"should_generate_uvs\": \"False\", \"ifc_representation_class\": \"\", \"profile_set_usage\": \"None\"}\n# ifcopenshell.api: geometry.assign_representation\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}, \"representation\": {\"cast_type\": \"entity_instance\", \"value\": 257, \"Name\": null}}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}}\n# ifcopenshell.api: group.assign_group\n>>> {\"group\": {\"cast_type\": \"entity_instance\", \"value\": 75, \"Name\": \"PLAN_VIEW\"}, \"products\": [{\"cast_type\": \"entity_instance\", \"value\": 248, \"Name\": \"IMAGE\"}]}\n# ifcopenshell.api: owner.update_owner_history\n>>> {\"element\": {\"cast_type\": \"entity_instance\", \"value\": 76, \"Name\": null}}\nlast_error: Traceback (most recent call last):\n  File \"/home/tim/.var/app/org.blender.Blender/config/blender/5.1/extensions/.local/lib/python3.13/site-packages/bonsai/bim/ifc.py\", line 523, in execute_ifc_operator\n    result = getattr(operator, \"_execute\")(context)\n  File \"/home/tim/.var/app/org.blender.Blender/config/blender/5.1/extensions/.local/lib/python3.13/site-packages/bonsai/bim/module/drawing/workspace.py\", line 290, in _execute\n    getattr(self, f\"hotkey_{self.hotkey}\")()\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n  File \"/home/tim/.var/app/org.blender.Blender/config/blender/5.1/extensions/.local/lib/python3.13/site-packages/bonsai/bim/module/drawing/workspace.py\", line 335, in hotkey_S_A\n    bpy.ops.bim.add_annotation()\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n  File \"/home/tim/.var/app/org.blender.Blender/config/blender/5.1/extensions/.local/lib/python3.13/site-packages/bonsai/tool/ifc.py\", line 367, in execute\n    IfcStore.execute_ifc_operator(self, context)\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^\n  File \"/home/tim/.var/app/org.blender.Blender/config/blender/5.1/extensions/.local/lib/python3.13/site-packages/bonsai/bim/ifc.py\", line 523, in execute_ifc_operator\n    result = getattr(operator, \"_execute\")(context)\n  File \"/home/tim/.var/app/org.blender.Blender/config/blender/5.1/extensions/.local/lib/python3.13/site-packages/bonsai/bim/module/drawing/operator.py\", line 1762, in _execute\n    bpy.ops.bim.add_reference_image(\"INVOKE_DEFAULT\", existing_object_by_name=obj.name)\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: Converting py args to operator properties:: keyword \"existing_object_by_name\" unrecognized\nLocation: /home/tim/.var/app/org.blender.Blender/config/blender/5.1/extensions/.local/lib/python3.13/site-packages/bonsai/bim/module/drawing/workspace.py:335\n\n\nblend_file_path: Not saved\nblend_file_dirty: N/A\nifc_file_path: /home/tim/code/bonsai-bim-dimensioning-test/bonsai-bim-dimensioning-test.ifc\nifc_is_dirty: True\nifc: bonsai-bim-dimensioning-test.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.5\noriginating_system: Bonsai 0.8.5\n```","author":{"url":"https://github.com/Georift","@type":"Person","name":"Georift"},"datePublished":"2026-05-31T08:43:58Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8130"}

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:a8b74d93-30cd-6768-1aaf-9b378ed22ff8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id96F8:73AE1:807D08:AC8C61:6B04A8AF
html-safe-nonceb8ea269d6e3cfbb3f25381ecf4870cc334c499bb72ac3ef83da13b662071635e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkY4OjczQUUxOjgwN0QwODpBQzhDNjE6NkIwNEE4QUYiLCJ2aXNpdG9yX2lkIjoiNjM2MDk3NTA5ODM2Mjc2NzUzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac11e0e9c90e8709333fdf538205bc8b656b5f101464909be93f1696b90f1dafa3
hovercard-subject-tagissue:4557047965
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/8130/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3d9b47ab17ce8c749dca2853028a05427f108fd9a884797d87968816249204c7/IfcOpenShell/IfcOpenShell/issues/8130
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3d9b47ab17ce8c749dca2853028a05427f108fd9a884797d87968816249204c7/IfcOpenShell/IfcOpenShell/issues/8130
og:image:altBug Description Create a new plan view, activate it. Select annotation tool, select type of image. Click add, see than Bonsai throws an error. Following the video in this linked comment reproduces ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGeorift
hostnamegithub.com
expected-hostnamegithub.com
None188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b
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
release557cfbac6cdb532730c95c90f2cefdc0c4128029
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/8130#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F8130
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%2F8130
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/8130
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8130
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8130
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 requests937 (937)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/8130
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8130
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
#8263https://github.com/IfcOpenShell/IfcOpenShell/pull/8263
Error thrown when adding reference images to plan viewhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8130#top
#8263https://github.com/IfcOpenShell/IfcOpenShell/pull/8263
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
https://github.com/Georift
Georifthttps://github.com/Georift
on May 31, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#issue-4557047965
#7070 (comment)https://github.com/IfcOpenShell/IfcOpenShell/issues/7070#issuecomment-3238134343
Georifthttps://github.com/Georift
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
on May 31, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#event-26154558523
https://github.com/Georift
Georifthttps://github.com/Georift
on May 31, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#issuecomment-4586218000
https://github.com/IfcOpenShell/IfcOpenShell/pull/7684/changes#diff-9322b84508153cecd954b4a395dcc45e8fd711c253998d1fd5cf4105a8f39927L3813-L3817https://github.com/IfcOpenShell/IfcOpenShell/pull/7684/changes#diff-9322b84508153cecd954b4a395dcc45e8fd711c253998d1fd5cf4105a8f39927L3813-L3817
https://github.com/petruconduraru
petruconduraruhttps://github.com/petruconduraru
on Jul 5, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#issuecomment-4885906615
#7684https://github.com/IfcOpenShell/IfcOpenShell/pull/7684
petruconduraruhttps://github.com/petruconduraru
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
on Jul 7, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#event-27671349374
petruconduraruhttps://github.com/petruconduraru
on Jul 9, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#event-27759997909
Bonsai: drop stale kwarg when invoking add_reference_image IfcOpenShe…https://github.com/BIMvoice/IfcOpenShell/commit/1ef321d43e2f35a1bd5b9d7f35eb04495cfc4067
IfcOpenShe…https://github.com/IfcOpenShell/IfcOpenShell/issues/8130
1ef321dhttps://github.com/BIMvoice/IfcOpenShell/commit/1ef321d43e2f35a1bd5b9d7f35eb04495cfc4067
Bonsai: drop stale kwarg when invoking add_reference_image IfcOpenShe…https://github.com/BIMvoice/IfcOpenShell/commit/537ab95338b0654cfde87316c22fc7eaddd6d932
IfcOpenShe…https://github.com/IfcOpenShell/IfcOpenShell/issues/8130
537ab95https://github.com/BIMvoice/IfcOpenShell/commit/537ab95338b0654cfde87316c22fc7eaddd6d932
theoryshawhttps://github.com/theoryshaw
on Sep 25, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#event-31835478822
Bonsai: drop stale kwarg when invoking add_reference_image IfcOpenShe…https://github.com/theoryshaw/IfcOpenShell/commit/ad657d428cce2508a38e75a7c04e6d83374550ef
IfcOpenShe…https://github.com/IfcOpenShell/IfcOpenShell/issues/8130
ad657d4https://github.com/theoryshaw/IfcOpenShell/commit/ad657d428cce2508a38e75a7c04e6d83374550ef
theoryshawhttps://github.com/theoryshaw
on Oct 4, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8130#event-32465759038
drawing: leave AddAnnotation's IMAGE branch as it was, after the manu…https://github.com/IfcOpenShell/IfcOpenShell/commit/1cd9f2322ac52c5b729ca97788b047122919d01a
1cd9f23https://github.com/IfcOpenShell/IfcOpenShell/commit/1cd9f2322ac52c5b729ca97788b047122919d01a
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8130
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8130
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
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.