Skip to content

Postal address - how to check? #363

Answered by atomczak
marszulc asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@marszulc
Comment options

Comment options

You must be logged in to vote
2 replies
@marszulc
Comment options

@atomczak
Comment options

Comment options

You must be logged in to vote
1 reply
@marszulc
Comment options

Answer selected by atomczak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #362 on October 22, 2024 15:08.