|
Hello, This is one of my ideas: Is it anyhow possible? |
Replies: 3 comments 4 replies
|
IfcPostalAddress is a tricky entity within an entity, and that's also why it was deprecated in IFC4.3. It's better to use Pset_Address for this. BTW, you didn't tell it that you are interested in Assuming you want to achieve this in IFC2x3, I propose that you just move IfcPostalAddress to applicability and forget the IfcBuilding: |
|
I didn't test that code above, turns out there was a mistake in maxOccurs. But that's not the source of the problem you get in IfcOpenShell. Can you try with the full example: |
|
Ah, I found the reason. The IfcPostalAddress is not a child of IfcObject, and only those are allowed entities in IDS. In other words, it is out of the scope for IDS. The error in IfcOpenShell says that it lacks 'IsDefinedBy' - that's because it only applies to IfcObjects. |

Ah, I found the reason. The IfcPostalAddress is not a child of IfcObject, and only those are allowed entities in IDS. In other words, it is out of the scope for IDS. The error in IfcOpenShell says that it lacks 'IsDefinedBy' - that's because it only applies to IfcObjects.
Again, I suggest to follow the recommendation and use property for that instead: https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcPostalAddress.htm