Closed marszulc closed 3 weeks ago
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 AddressLines
.
Assuming you want to achieve this in IFC2x3, I propose that you just move IfcPostalAddress to applicability and forget the IfcBuilding:
<applicability minOccurs="1" maxOccurs="1">
<entity>
<name>
<simpleValue>IFCPOSTALADDRESS</simpleValue>
</name>
</entity>
</applicability>
<requirements>
<attribute>
<name>
<simpleValue>AddressLines</simpleValue>
</name>
<value>
<xs:restriction base="xs:string">
<xs:enumeration value="xxxxx"/>
<xs:enumeration value="yyyyy"/>
<xs:enumeration value="zzzz"/>
</xs:restriction>
</value>
</attribute>
</requirements>
Hello, I need to check the AddressLines attribute of Postal address and I tried it in multiple ways but none of them worked.
This is one of my ideas:
Image:
Is it anyhow possible?