mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Minor fix, bump readme
This commit is contained in:
+4
-1
@@ -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",
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user