mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-20 04:04:00 +00:00
9 lines
306 B
Python
9 lines
306 B
Python
import ifcopenshell
|
|
|
|
for i, (r1, r2) in enumerate(
|
|
[("SUPPLIER", None), ("SUPPLIER", "Valid"), ("USERDEFINED", "Valid"), ("USERDEFINED", None)]
|
|
):
|
|
f = ifcopenshell.file(schema="IFC2X3")
|
|
f.createIfcActorRole(r1, r2)
|
|
f.write(f"{'fail' if i == 3 else 'pass'}-actor-role-{r1}-{r2}-ifc2x3.ifc")
|