Title: How to use IfcRelAggregates to connect two elements and write it to a .ifc file? · Issue #2019 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: How to use IfcRelAggregates to connect two elements and write it to a .ifc file? · Issue #2019 · IfcOpenShell/IfcOpenShell
X Title: How to use IfcRelAggregates to connect two elements and write it to a .ifc file? · Issue #2019 · IfcOpenShell/IfcOpenShell
Description: I have wrote a C++ program to export the content to a .ifc file. I created two entities and they have compose/decompose relations like this: ENTITY IfcFillerSection SUBTYPE OF (IfcRailwaySubgradeProfile); Position : IfcBoolean; FillerLay...
Open Graph Description: I have wrote a C++ program to export the content to a .ifc file. I created two entities and they have compose/decompose relations like this: ENTITY IfcFillerSection SUBTYPE OF (IfcRailwaySubgradePr...
X Description: I have wrote a C++ program to export the content to a .ifc file. I created two entities and they have compose/decompose relations like this: ENTITY IfcFillerSection SUBTYPE OF (IfcRailwaySubgradePr...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/2019
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to use IfcRelAggregates to connect two elements and write it to a .ifc file?","articleBody":"I have wrote a C++ program to export the content to a .ifc file.\r\nI created two entities and they have compose/decompose relations like this:\r\n\r\nENTITY IfcFillerSection\r\n SUBTYPE OF (IfcRailwaySubgradeProfile);\r\n\tPosition : IfcBoolean;\r\n\tFillerLayers : LIST [1:?] OF IfcFillerLayer;\r\nEND_ENTITY;\r\n\r\nENTITY IfcFillerLayer\r\n SUBTYPE OF (IfcRailwaySubgradeProfile);\r\n\tPosition : IfcBoolean;\r\n\tFillerLayerType : IfcLabel;\r\n\tFillerType : IfcLabel;\r\nEND_ENTITY;\r\n\r\nHowever, someone told me that I shall not define entities in this way. I should use IfcRelAggregates to interpret this kind of one-to-many relation. I googled this entity while I can hardly find any C++ code examples.\r\nSo, how should I use the entity IfcRelAggregates to connect two elements (in C++ code) and write this relation to a .ifc file?\r\nThank you very much.","author":{"url":"https://github.com/carlblack1987","@type":"Person","name":"carlblack1987"},"datePublished":"2022-02-04T12:49:47Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/2019"}
| 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:623391e0-0626-96bc-87d7-f46ec5dc3246 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FF6:23D7A:68ED0B:8F5138:6B0476BA |
| html-safe-nonce | d1ff1ad36a3257b864007d9c887a05c8840e8f1a0ab7f71dd6f79ece2ec4d4a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkY2OjIzRDdBOjY4RUQwQjo4RjUxMzg6NkIwNDc2QkEiLCJ2aXNpdG9yX2lkIjoiNTU0ODA2Mjc4MTM2ODIwMjkzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0381d2dd6df020f7a61a917812a8e1248185b99cfaf5d4fb7826925b25099589 |
| hovercard-subject-tag | issue:1124170304 |
| 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/2019/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c293b34fe5123efe987f1ecc8ef46271c9bfab46a62e59d9d11c6116b457b88/IfcOpenShell/IfcOpenShell/issues/2019 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c293b34fe5123efe987f1ecc8ef46271c9bfab46a62e59d9d11c6116b457b88/IfcOpenShell/IfcOpenShell/issues/2019 |
| og:image:alt | I have wrote a C++ program to export the content to a .ifc file. I created two entities and they have compose/decompose relations like this: ENTITY IfcFillerSection SUBTYPE OF (IfcRailwaySubgradePr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | carlblack1987 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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