René's URL Explorer Experiment


Title: Bonsai: apply a new Pset/Qto to the whole selection, not just the active object by petruconduraru · Pull Request #8728 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Bonsai: apply a new Pset/Qto to the whole selection, not just the active object by petruconduraru · Pull Request #8728 · IfcOpenShell/IfcOpenShell

X Title: Bonsai: apply a new Pset/Qto to the whole selection, not just the active object by petruconduraru · Pull Request #8728 · IfcOpenShell/IfcOpenShell

Description: Root cause EditPset._execute derived its target element solely from the active object, so adding a new pset with multiple objects selected only ever applied to one of them, unlike type assignment which already applies to every selected object. core.add_pset's existing loop over selected elements was dead code: it re-invoked enable_pset_editing with the same obj_name/obj_type every iteration without touching per-element state. Fix Extracted the per-element create/edit logic into apply_pset(), and, only when a new pset/qto is being created (not when editing an existing one, where IFC's native pset sharing already keeps things in sync), added apply_new_pset_to_selection() which iterates the rest of the selected objects. For each, skips it if the pset name isn't applicable to that element's class, skips it if it already has its own occurrence-level pset of that name (matching RemovePset's existing convention, so an element that already carries the pset is left untouched rather than overwritten), and otherwise creates/edits it with the same values entered for the active object. Verification Verified live in headless Blender: multi-select add (all get it), a mixed selection where one element already has its own pset of that name (left untouched, others still get it), single-object selection (unchanged), a mixed wall+door selection (door correctly skipped as not applicable), and Qto multi-select (also propagates, since it shares this operator). Added two BDD regression scenarios. Fixes #7462 Generated with the assistance of an AI coding tool.

Open Graph Description: Root cause EditPset._execute derived its target element solely from the active object, so adding a new pset with multiple objects selected only ever applied to one of them, unlike type assignment w...

X Description: Root cause EditPset._execute derived its target element solely from the active object, so adding a new pset with multiple objects selected only ever applied to one of them, unlike type assignment w...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/pull/8728

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:94d7f857-a29a-dc82-a7de-a715fe29c5fa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DAC:21A3DB:47B7EA:5F9C7D:6B04F4BC
html-safe-nonce2a3587d3ba4965921192dad0f67261a7b7fd03f79e82262c02a3ad95e866484f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REFDOjIxQTNEQjo0N0I3RUE6NUY5QzdEOjZCMDRGNEJDIiwidmlzaXRvcl9pZCI6IjYxNzgwNzE5MzYwODI3MDM1NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9c8a4b0d9f730f64bcd6df1ed91ed1582c07643bfc7b55a51608ce6655137c5e
hovercard-subject-tagpull_request:4082258573
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
twitter:imagehttps://avatars.githubusercontent.com/u/139251053?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/139251053?s=400&v=4
og:image:altRoot cause EditPset._execute derived its target element solely from the active object, so adding a new pset with multiple objects selected only ever applied to one of them, unlike type assignment w...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2c3971d6ab4be607cf9a26ac26ef0a7bfce380ec2ba14642e64028ad07a492b9
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb3f1d45dee14b3f87c64e9017a9c08d011561786
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fpull%2F8728%2Ffiles
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%2Fpull%2F8728%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
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 requests936 (936)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
Sign up for GitHub https://github.com/signup?return_to=%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2Fnew%2Fchoose
petruconduraruhttps://github.com/petruconduraru
IfcOpenShell:v0.9.0https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.9.0
BIMvoice:fix-7462-bulk-add-psethttps://github.com/BIMvoice/IfcOpenShell/tree/fix-7462-bulk-add-pset
Conversation 1 https://github.com/IfcOpenShell/IfcOpenShell/pull/8728
Commits 3 https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/commits
Checks 6 https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/checks
Files changed https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
Bonsai: apply a new Pset/Qto to the whole selection, not just the active object https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#top
Show all changes 3 commits https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
9ef27ad Bonsai: apply a new Pset/Qto to the whole selection, not just the act… petruconduraru Jul 18, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/commits/9ef27ade58dac1754e74a48b3e0fa794b91d41a3
6461897 Merge origin/v0.9.0 into mig20/8728 petruconduraru Sep 29, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/commits/64618972f212cd81f2f2cbe09fb1ca6c6757441d
d1be7e2 Fix entity lookup in multi-select pset tests petruconduraru Sep 29, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/commits/d1be7e26ca41634ad079310ef31886c21a8d0d31
Clear filters https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
operator.py https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
tool.py https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-6eacf88cc3cec3ee43514c2e977b0b9b57c4b8ef113253a67cb7f296c274279b
pset.py https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c146f54c7a161fd00ea5b7eea1162da57b1363d77c0a3833df60fbcd8a945268
pset.feature https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-cc444dc00a2058064ad5187e2d1cf347031f8b66a396c32c55ad361937f10115
src/bonsai/bonsai/bim/module/pset/operator.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/d1be7e26ca41634ad079310ef31886c21a8d0d31/src/bonsai/bonsai/bim/module/pset/operator.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c45ae6f57b0df6746053a1abeb63563eb764b8a085d74c14c6cfbe3f60596909
src/bonsai/bonsai/core/tool.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-6eacf88cc3cec3ee43514c2e977b0b9b57c4b8ef113253a67cb7f296c274279b
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/d1be7e26ca41634ad079310ef31886c21a8d0d31/src/bonsai/bonsai/core/tool.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-6eacf88cc3cec3ee43514c2e977b0b9b57c4b8ef113253a67cb7f296c274279b
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-6eacf88cc3cec3ee43514c2e977b0b9b57c4b8ef113253a67cb7f296c274279b
src/bonsai/bonsai/tool/pset.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c146f54c7a161fd00ea5b7eea1162da57b1363d77c0a3833df60fbcd8a945268
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/d1be7e26ca41634ad079310ef31886c21a8d0d31/src/bonsai/bonsai/tool/pset.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c146f54c7a161fd00ea5b7eea1162da57b1363d77c0a3833df60fbcd8a945268
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-c146f54c7a161fd00ea5b7eea1162da57b1363d77c0a3833df60fbcd8a945268
src/bonsai/test/bim/feature/pset.featurehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-cc444dc00a2058064ad5187e2d1cf347031f8b66a396c32c55ad361937f10115
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/d1be7e26ca41634ad079310ef31886c21a8d0d31/src/bonsai/test/bim/feature/pset.feature
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-cc444dc00a2058064ad5187e2d1cf347031f8b66a396c32c55ad361937f10115
https://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files#diff-cc444dc00a2058064ad5187e2d1cf347031f8b66a396c32c55ad361937f10115
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8728/files
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.