MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / execute

Method execute

src/bonsai/bonsai/bim/operator.py:225–231  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

223 filename_ext = ".ifc"
224
225 def execute(self, context):
226 if self.is_existing_ifc_file():
227 props = tool.Blender.get_bim_props()
228 props.ifc_file = self.get_filepath()
229 bonsai.bim.handler.loadIfcStore(bpy.context.scene)
230 tool.Blender.clear_undo_history()
231 return {"FINISHED"}
232
233 def invoke(self, context, event):
234 props = tool.Blender.get_bim_props()

Callers

nothing calls this directly

Calls 4

is_existing_ifc_fileMethod · 0.80
get_bim_propsMethod · 0.80
get_filepathMethod · 0.80
clear_undo_historyMethod · 0.80

Tested by

no test coverage detected