mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
black format
This commit is contained in:
@@ -114,7 +114,7 @@ class EditObjective(bpy.types.Operator):
|
|||||||
ifcopenshell.api.run(
|
ifcopenshell.api.run(
|
||||||
"constraint.edit_objective",
|
"constraint.edit_objective",
|
||||||
self.file,
|
self.file,
|
||||||
**{"objective": self.file.by_id(props.active_constraint_id), "attributes": attributes}
|
**{"objective": self.file.by_id(props.active_constraint_id), "attributes": attributes},
|
||||||
)
|
)
|
||||||
bpy.ops.bim.load_objectives()
|
bpy.ops.bim.load_objectives()
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
@@ -191,7 +191,7 @@ class AssignConstraint(bpy.types.Operator):
|
|||||||
**{
|
**{
|
||||||
"product": self.file.by_id(obj_id),
|
"product": self.file.by_id(obj_id),
|
||||||
"constraint": self.file.by_id(self.constraint),
|
"constraint": self.file.by_id(self.constraint),
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user