Minor fix, bump readme

This commit is contained in:
Dion Moult
2021-06-17 18:30:25 +10:00
parent a08918fd22
commit 1b49a10a15
3 changed files with 5 additions and 7 deletions
+4 -1
View File
@@ -4,7 +4,10 @@ A simple Python implementation of BCF. The data model is described in `data.py`.
Manipulation of BCF-XML is available via `bcfxml.py` and manipulation of BCF-API
is available via `bcfapi.py`.
Currently supports BCF version 2.1.
- BCF-XML version 2.1: Fully supported
- BCF-API version 2.1: Not supported, will probably tackle this after BCF-API v3.0
- BCF-XML version 3.0: Almost fully supported, except for the documents module
- BCF-API version 3.0: Not supported, but work underway to support it
## bcfxml
@@ -571,9 +571,6 @@ class AssignPredecessor(bpy.types.Operator):
relating_process=IfcStore.get_file().by_id(self.task),
related_process=IfcStore.get_file().by_id(props.active_task_id),
)
ifcopenshell.api.run(
"sequence.edit_sequence", self.file, rel_sequence=rel, attributes={"SequenceType": "FINISH_START"}
)
Data.load(self.file)
bpy.ops.bim.load_task_properties()
return {"FINISHED"}
@@ -593,9 +590,6 @@ class AssignSuccessor(bpy.types.Operator):
relating_process=IfcStore.get_file().by_id(props.active_task_id),
related_process=IfcStore.get_file().by_id(self.task),
)
ifcopenshell.api.run(
"sequence.edit_sequence", self.file, rel_sequence=rel, attributes={"SequenceType": "FINISH_START"}
)
Data.load(self.file)
bpy.ops.bim.load_task_properties()
return {"FINISHED"}
@@ -23,5 +23,6 @@ class Usecase:
"OwnerHistory": ifcopenshell.api.run("owner.create_owner_history", self.file),
"RelatingProcess": self.settings["relating_process"],
"RelatedProcess": self.settings["related_process"],
"SequenceType": "FINISH_START",
}
)