mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 11:46:33 +00:00
assigning process to control - add an error message
This commit is contained in:
@@ -520,7 +520,7 @@ class AssignProcess(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
else:
|
else:
|
||||||
core.assign_input_products(tool.Ifc, tool.Sequence, tool.Spatial, task=tool.Ifc.get().by_id(self.task))
|
core.assign_input_products(tool.Ifc, tool.Sequence, tool.Spatial, task=tool.Ifc.get().by_id(self.task))
|
||||||
elif self.related_object_type == "CONTROL":
|
elif self.related_object_type == "CONTROL":
|
||||||
pass # TODO
|
self.report({"ERROR"}, "Assigning process control is not yet supported") # TODO
|
||||||
|
|
||||||
|
|
||||||
class UnassignProcess(bpy.types.Operator, tool.Ifc.Operator):
|
class UnassignProcess(bpy.types.Operator, tool.Ifc.Operator):
|
||||||
|
|||||||
Reference in New Issue
Block a user