René's URL Explorer Experiment


Title: How to batch add storeys by scripting? · Issue #3816 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: How to batch add storeys by scripting? · Issue #3816 · IfcOpenShell/IfcOpenShell

X Title: How to batch add storeys by scripting? · Issue #3816 · IfcOpenShell/IfcOpenShell

Description: Hi, I want to batch add storeys by scripting. I can see there's bpy.ops.bim.add_building_storey but it seems to be only executed by clicking the UI button. If I run bpy.ops.bim.add_building_storey in Python console, it adds something lik...

Open Graph Description: Hi, I want to batch add storeys by scripting. I can see there's bpy.ops.bim.add_building_storey but it seems to be only executed by clicking the UI button. If I run bpy.ops.bim.add_building_storey ...

X Description: Hi, I want to batch add storeys by scripting. I can see there's bpy.ops.bim.add_building_storey but it seems to be only executed by clicking the UI button. If I run bpy.ops.bim.add_building_sto...

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

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":"How to batch add storeys by scripting?","articleBody":"Hi,\r\nI want to batch add storeys by scripting. I can see there's `bpy.ops.bim.add_building_storey` but it seems to be only executed by clicking the UI button. If I run `bpy.ops.bim.add_building_storey` in Python console, it adds something like `IfcActuatorType/Unnamed.001`. Is there any way to do this by scripting? For a highrise building, I often have storeys' name and elevation ready somewhere in a spreadsheet (or extracted from a dwg drawing), so I want to batch add all storeys once.\r\nThanks.","author":{"url":"https://github.com/htlcnn","@type":"Person","name":"htlcnn"},"datePublished":"2023-09-28T01:18:04Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/3816"}

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:d19318d4-c5ac-58f7-4c0b-d573973c306a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id977C:31EE77:111632:16990E:6B04B122
html-safe-nonceef6852dd53ef09f8550f3a2d8d7108f1cb3c8a95fd9f0f53d4176b4b47977409
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzdDOjMxRUU3NzoxMTE2MzI6MTY5OTBFOjZCMDRCMTIyIiwidmlzaXRvcl9pZCI6Ijc1MzkyMzA2MDM5ODMzODMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacca27fb8a126473b530c4a94717c973491128feb4f9851ccd21b4e380f914cf74
hovercard-subject-tagissue:1916560174
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/3816/issue_layout
twitter:imagehttps://opengraph.githubassets.com/322719d36a2a69e0bb7545258de1d721e91899ea08bc80ac09dc8b946cd369d4/IfcOpenShell/IfcOpenShell/issues/3816
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/322719d36a2a69e0bb7545258de1d721e91899ea08bc80ac09dc8b946cd369d4/IfcOpenShell/IfcOpenShell/issues/3816
og:image:altHi, I want to batch add storeys by scripting. I can see there's bpy.ops.bim.add_building_storey but it seems to be only executed by clicking the UI button. If I run bpy.ops.bim.add_building_storey ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehtlcnn
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
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
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/3816#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F3816
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%2F3816
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/3816
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/3816
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/3816
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/3816
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/3816
How to batch add storeys by scripting?https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#top
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
https://github.com/htlcnn
htlcnnhttps://github.com/htlcnn
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issue-1916560174
https://github.com/theoryshaw
theoryshawhttps://github.com/theoryshaw
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1738379992
https://community.osarch.org/discussion/comment/12135/#Comment_12135https://community.osarch.org/discussion/comment/12135/#Comment_12135
https://github.com/htlcnn
htlcnnhttps://github.com/htlcnn
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1738383264
@theoryshawhttps://github.com/theoryshaw
https://github.com/C-Claus/BlenderScripts/blob/8f00777187ec1761a025999ba5893612f3e91835/BlenderBIM_create_objects/create_grid/create_grid_with_slabs_and_building_stories.py#L130-L140https://github.com/C-Claus/BlenderScripts/blob/8f00777187ec1761a025999ba5893612f3e91835/BlenderBIM_create_objects/create_grid/create_grid_with_slabs_and_building_stories.py#L130-L140
https://github.com/theoryshaw
theoryshawhttps://github.com/theoryshaw
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1738397791
https://sourcegraph.com/github.com/IfcOpenShell/wasm-preview/-/blob/examples/model.py?L36https://sourcegraph.com/github.com/IfcOpenShell/wasm-preview/-/blob/examples/model.py?L36
https://github.com/htlcnn
htlcnnhttps://github.com/htlcnn
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1738513830
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1738971586
operator's codehttps://github.com/IfcOpenShell/IfcOpenShell/blob/5438331fe16598e392685984e75b6334a342b763/src/blenderbim/blenderbim/bim/module/spatial/operator.py#L230C1-L248
Andrej730https://github.com/Andrej730
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#event-10498152975
https://github.com/htlcnn
htlcnnhttps://github.com/htlcnn
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1739111301
@Andrej730https://github.com/Andrej730
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Sep 28, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1739349641
https://github.com/htlcnn
htlcnnhttps://github.com/htlcnn
on Oct 5, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#issuecomment-1747916561
@Andrej730https://github.com/Andrej730
htlcnnhttps://github.com/htlcnn
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 5, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#event-10557398766
Andrej730https://github.com/Andrej730
on Sep 23, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/3816#event-14365386488
Improve error messages for shapes failed to processhttps://github.com/IfcOpenShell/IfcOpenShell/commit/7e6be53237240c4889d032c8d3442cd878aa17ed
7e6be53https://github.com/IfcOpenShell/IfcOpenShell/commit/7e6be53237240c4889d032c8d3442cd878aa17ed
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/3816
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/3816
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.