mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
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",
This commit is contained in:
@@ -191,6 +191,7 @@ class Csv2Ifc:
|
|||||||
self.file,
|
self.file,
|
||||||
related_process=task_2,
|
related_process=task_2,
|
||||||
relating_process=task_1,
|
relating_process=task_1,
|
||||||
|
sequence_type = rel_type,
|
||||||
)
|
)
|
||||||
if rel_type:
|
if rel_type:
|
||||||
ifcopenshell.api.run(
|
ifcopenshell.api.run(
|
||||||
|
|||||||
Reference in New Issue
Block a user