mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +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
|
Manipulation of BCF-XML is available via `bcfxml.py` and manipulation of BCF-API
|
||||||
is available via `bcfapi.py`.
|
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
|
## bcfxml
|
||||||
|
|
||||||
|
|||||||
@@ -571,9 +571,6 @@ class AssignPredecessor(bpy.types.Operator):
|
|||||||
relating_process=IfcStore.get_file().by_id(self.task),
|
relating_process=IfcStore.get_file().by_id(self.task),
|
||||||
related_process=IfcStore.get_file().by_id(props.active_task_id),
|
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)
|
Data.load(self.file)
|
||||||
bpy.ops.bim.load_task_properties()
|
bpy.ops.bim.load_task_properties()
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
@@ -593,9 +590,6 @@ class AssignSuccessor(bpy.types.Operator):
|
|||||||
relating_process=IfcStore.get_file().by_id(props.active_task_id),
|
relating_process=IfcStore.get_file().by_id(props.active_task_id),
|
||||||
related_process=IfcStore.get_file().by_id(self.task),
|
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)
|
Data.load(self.file)
|
||||||
bpy.ops.bim.load_task_properties()
|
bpy.ops.bim.load_task_properties()
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|||||||
@@ -23,5 +23,6 @@ class Usecase:
|
|||||||
"OwnerHistory": ifcopenshell.api.run("owner.create_owner_history", self.file),
|
"OwnerHistory": ifcopenshell.api.run("owner.create_owner_history", self.file),
|
||||||
"RelatingProcess": self.settings["relating_process"],
|
"RelatingProcess": self.settings["relating_process"],
|
||||||
"RelatedProcess": self.settings["related_process"],
|
"RelatedProcess": self.settings["related_process"],
|
||||||
|
"SequenceType": "FINISH_START",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user