Minor fix

This commit is contained in:
Dion Moult
2021-07-02 19:16:55 +10:00
parent e7e7b22fd5
commit eb89308019
@@ -51,7 +51,7 @@ This scenario where there is pure IfcOpenShell never occurs with the BlenderBIM
Add-on. Instead, stuff happens in Blender operators. Add-on. Instead, stuff happens in Blender operators.
.. code-block:: python .. code-block:: python
:emphasize-lines: 5,7,8,10,13 :emphasize-lines: 6,7
class Foobar(bpy.types.Operator): class Foobar(bpy.types.Operator):
bl_idname = "foobar" bl_idname = "foobar"
@@ -63,7 +63,6 @@ Add-on. Instead, stuff happens in Blender operators.
def _execute(self, context): def _execute(self, context):
ifcopenshell.api.run("foo.bar", IfcStore.get_file()) ifcopenshell.api.run("foo.bar", IfcStore.get_file())
context.scene.name = "Foobar"
return {"FINISHED"} return {"FINISHED"}
When your operator manipulates (creates, removes, or edits) IFC data directly or When your operator manipulates (creates, removes, or edits) IFC data directly or