mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Fix bug with incorrect MS Project XML sequence type import
This commit is contained in:
@@ -247,11 +247,10 @@ class MSP2Ifc:
|
|||||||
|
|
||||||
def create_rel_sequences(self):
|
def create_rel_sequences(self):
|
||||||
self.sequence_type_map = {
|
self.sequence_type_map = {
|
||||||
"1": "START_START",
|
"0": "FINISH_FINISH",
|
||||||
|
"1": "FINISH_START",
|
||||||
"2": "START_FINISH",
|
"2": "START_FINISH",
|
||||||
"3": "FINISH_START",
|
"3": "START_START",
|
||||||
"4": "FINISH_FINISH",
|
|
||||||
"0": "NOTDEFINED",
|
|
||||||
}
|
}
|
||||||
for task in self.tasks.values():
|
for task in self.tasks.values():
|
||||||
if not task["PredecessorTasks"]:
|
if not task["PredecessorTasks"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user