Title: Asterisk sign problem · Issue #103 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Asterisk sign problem · Issue #103 · IfcOpenShell/IfcOpenShell
X Title: Asterisk sign problem · Issue #103 · IfcOpenShell/IfcOpenShell
Description: Hello. I have a IFC file from Solibri IFC Optimizer. IFC 3_optimized.zip I'm trying to read attribute Name from IfcProject instance with code like this: const IfcSchema::IfcRoot *root = static_cast
Open Graph Description: Hello. I have a IFC file from Solibri IFC Optimizer. IFC 3_optimized.zip I'm trying to read attribute Name from IfcProject instance with code like this: const IfcSchema::IfcRoot *root = static_cast...
X Description: Hello. I have a IFC file from Solibri IFC Optimizer. IFC 3_optimized.zip I'm trying to read attribute Name from IfcProject instance with code like this: const IfcSchema::IfcRoot *root = static_...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/103
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Asterisk sign problem","articleBody":"Hello.\nI have a IFC file from Solibri IFC Optimizer.\n[IFC 3_optimized.zip](https://github.com/IfcOpenShell/IfcOpenShell/files/365642/IFC.3_optimized.zip)\nI'm trying to read attribute Name from IfcProject instance with code like this:\n\n``` cpp\nconst IfcSchema::IfcRoot *root = static_cast\u003cconst IfcSchema::IfcRoot*>(instance /*this is instance with IfcProject*/);\nif (root->hasName())\n return root->Name();\n```\n\n`root->hasName()` is returning `true` but when I'm calling `root->Name()` I'm getting exception:\n\n```\nclass IfcParse::IfcInvalidTokenException\nToken * at 5248629 invalid string\n```\n\nThis is how IfcProject instance in this IFC file look like:\n`#94908=IFCPROJECT('2MB33tRp9A69zGFxGcIs2R',#8,*,*,*,$,$,(#14),#94769);`\nAs you can see instead of `$` sign as Name attribute or `IfcLabel`, there is aterisk `*` sign.\n\nIn IFC Implementation FAQ I found this:\n\n> The \\* character encodes so-called omitted parameters. These are attributes which are defined as a regular explicit attribute in a supertype but redefined as a derived attribute in a subtype (and the record in the IFC file is an instance of the subtype).\n\nI'm thinking where is this Name attribute defined then? Or maybe it's not and that's why this exception is thrown?\n","author":{"url":"https://github.com/arzezniczak","@type":"Person","name":"arzezniczak"},"datePublished":"2016-07-15T10:05:10Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/103"}
| 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:f1e7e4d3-0ea1-0f0f-c391-6f69e09fbf10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CADE:24C069:570D58:77B089:6B0473B7 |
| html-safe-nonce | 95b6146312f7e959f8bcf7454ae93a676f8a0c0d7498e0697e2f40c82914761f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQURFOjI0QzA2OTo1NzBENTg6NzdCMDg5OjZCMDQ3M0I3IiwidmlzaXRvcl9pZCI6IjM2NDUzODI4NTg5NjY4NTY2MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a8a03e129751b82fd512c6fa8be1386059a88c5ba828683f767141d5e86db64d |
| hovercard-subject-tag | issue:165752632 |
| 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/103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/075881db7a242188d304d54f03dff7782a0a298341e0b6ad4fdb6ab170409b46/IfcOpenShell/IfcOpenShell/issues/103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/075881db7a242188d304d54f03dff7782a0a298341e0b6ad4fdb6ab170409b46/IfcOpenShell/IfcOpenShell/issues/103 |
| og:image:alt | Hello. I have a IFC file from Solibri IFC Optimizer. IFC 3_optimized.zip I'm trying to read attribute Name from IfcProject instance with code like this: const IfcSchema::IfcRoot *root = static_cast... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arzezniczak |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| 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 | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | full |
| 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