Title: [BCF] wrong viewpoint and snapshot file names in BCF 2.1 (was: viewpoints not working in BimCollab Zoom) · Issue #7152 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: [BCF] wrong viewpoint and snapshot file names in BCF 2.1 (was: viewpoints not working in BimCollab Zoom) · Issue #7152 · IfcOpenShell/IfcOpenShell
X Title: [BCF] wrong viewpoint and snapshot file names in BCF 2.1 (was: viewpoints not working in BimCollab Zoom) · Issue #7152 · IfcOpenShell/IfcOpenShell
Description: Bug Description UPDATE: we need to rename the first viewpoint and snapshot of BCF 2.1 markup as viewpoint.bcfv and snapshot.png I've picked up the work on BCF these days, and I found out that BCF files generated with bcf-client are opene...
Open Graph Description: Bug Description UPDATE: we need to rename the first viewpoint and snapshot of BCF 2.1 markup as viewpoint.bcfv and snapshot.png I've picked up the work on BCF these days, and I found out that BCF f...
X Description: Bug Description UPDATE: we need to rename the first viewpoint and snapshot of BCF 2.1 markup as viewpoint.bcfv and snapshot.png I've picked up the work on BCF these days, and I found out that B...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7152
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BCF] wrong viewpoint and snapshot file names in BCF 2.1 (was: viewpoints not working in BimCollab Zoom)","articleBody":"### Bug Description\n\nUPDATE: we need to rename the first viewpoint and snapshot of BCF 2.1 markup as `viewpoint.bcfv` and `snapshot.png`\n\n---\n\nI've picked up the work on BCF these days, and I found out that BCF files generated with `bcf-client` are opened by BimCollab, but the viewpoints are not picked up.\nWhen you double click on a topic, you get the error message \"This issue has no viewpoint to zoom to\".\n\nChecking the difference between the files generated by bcf-client and bimcollab, I can see that the latter has a `Comment` element in the markup that has a `Viewpoint` element that points to the Viewpoints.\n\nIndeed the [BCF XML documentation](https://github.com/buildingSMART/BCF-XML/tree/release_3_0/Documentation#viewpoints) of both 2.1 and 3.0 states (emphasis mine)\n\n> The markup file can contain multiple viewpoints **related to one or more comments**.\n\nHowever, even if I add the comment with the corresponding viewpoint (with the code below), the error stays the same.\n\n```python\ndef add_issue(bcf_obj: BcfXml, title: str, message: str, author: str, element: entity_instance) -> None:\n th = bcf_obj.add_topic(\n title,\n message,\n author,\n \"Parameter Validation\",\n )\n visinfo_handler = th.add_viewpoint(element)\n visinfo_handler.set_selected_elements([element])\n visinfo_handler.set_visible_elements([element])\n th.comments = [mdl.Comment(\n guid=str(uuid.uuid4()),\n date=XmlDateTime.now(),\n author=author,\n comment=message,\n viewpoint=mdl.CommentViewpoint(guid=visinfo_handler.guid),\n )]\n```\n\nI've reached the BimCollab support to understand what is missing from our BCF files, we filed a ticket to the dev team, let's see where it brings us.\n\nI don't have any other IFC+BCF viewers at hand, so I don't know if it is a vendor specific problem or if it's our implementation at fail.\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nbcf-client version 0.8.3\npython 3.10.16\nWindows 11\n```","author":{"url":"https://github.com/sanzoghenzo","@type":"Person","name":"sanzoghenzo"},"datePublished":"2025-09-23T15:14:01Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7152"}
| 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:a831df03-3ea6-1485-4591-1a19a7fd5f27 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAF6:279F3F:437C2C:5D1A45:6B049E75 |
| html-safe-nonce | a9b855d0ad789d887c4f63c56b0fc5f29154f4bc637785e6c2fb3669a1ebc53a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUY2OjI3OUYzRjo0MzdDMkM6NUQxQTQ1OjZCMDQ5RTc1IiwidmlzaXRvcl9pZCI6IjcyNDY5MjgwNzE1NzQ3MjQyMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cadc8bb226a16b9a0595928cdbbfcaf784a881c0736d63ddc6762053e9ae0ed4 |
| hovercard-subject-tag | issue:3445707666 |
| 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/7152/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1675a4f1ca47ac4a12d65ee91495282307c71d6ea753d010e7dad6f7ef83f009/IfcOpenShell/IfcOpenShell/issues/7152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1675a4f1ca47ac4a12d65ee91495282307c71d6ea753d010e7dad6f7ef83f009/IfcOpenShell/IfcOpenShell/issues/7152 |
| og:image:alt | Bug Description UPDATE: we need to rename the first viewpoint and snapshot of BCF 2.1 markup as viewpoint.bcfv and snapshot.png I've picked up the work on BCF these days, and I found out that BCF f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sanzoghenzo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| 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 | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | canary-2 |
| 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