From 20f8181ac3e493e2e90f7433ff960fc75f9829cc Mon Sep 17 00:00:00 2001 From: DimitriosThe Date: Mon, 1 Jul 2024 04:18:13 +0300 Subject: [PATCH] Update csv4d2ifc.py (#4935) Please correct me if I am wrong: while trying to create relationships I saw that in def create_rel_sequence (line 194) there is a parameter missing which should reflect the "rel_type", otherwise and according to "assign_sequence.py" the sequence_type remains def assign_sequence( file: ifcopenshell.file, relating_process: ifcopenshell.entity_instance, related_process: ifcopenshell.entity_instance, sequence_type: str = "FINISH_START", --- src/ifc4d/ifc4d/csv4d2ifc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifc4d/ifc4d/csv4d2ifc.py b/src/ifc4d/ifc4d/csv4d2ifc.py index 4da00339c6..3204311d9d 100644 --- a/src/ifc4d/ifc4d/csv4d2ifc.py +++ b/src/ifc4d/ifc4d/csv4d2ifc.py @@ -191,6 +191,7 @@ class Csv2Ifc: self.file, related_process=task_2, relating_process=task_1, + sequence_type = rel_type, ) if rel_type: ifcopenshell.api.run(