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

Function redo_post

src/bonsai/bonsai/bim/handler.py:258–264  ·  view source on GitHub ↗
(scene: bpy.types.Scene)

Source from the content-addressed store, hash-verified

256
257@persistent
258def redo_post(scene: bpy.types.Scene) -> None:
259 props = tool.Blender.get_bim_props()
260 if IfcStore.last_transaction != props.last_transaction:
261 IfcStore.last_transaction = props.last_transaction
262 IfcStore.redo(until_key=props.last_transaction)
263 refresh_ui_data()
264 tool.Ifc.rebuild_element_maps()
265
266
267# Cache is important as those entities will be retrieved very often,

Callers

nothing calls this directly

Calls 4

refresh_ui_dataFunction · 0.85
get_bim_propsMethod · 0.80
rebuild_element_mapsMethod · 0.80
redoMethod · 0.45

Tested by

no test coverage detected