mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Double space core functions and clear brick browser on project close
This commit is contained in:
@@ -47,6 +47,7 @@ def rewind_brick_class(brick):
|
||||
|
||||
def close_brick_project(brick):
|
||||
brick.clear_project()
|
||||
brick.clear_brick_browser()
|
||||
|
||||
|
||||
def convert_brick_project(ifc, brick):
|
||||
@@ -110,13 +111,16 @@ def remove_brick(ifc, brick, library=None, brick_uri=None):
|
||||
brick.remove_brick(brick_uri)
|
||||
brick.run_refresh_brick_viewer()
|
||||
|
||||
|
||||
def undo_brick(brick):
|
||||
brick.undo_brick()
|
||||
brick.run_refresh_brick_viewer()
|
||||
|
||||
|
||||
def redo_brick(brick):
|
||||
brick.redo_brick()
|
||||
brick.run_refresh_brick_viewer()
|
||||
|
||||
|
||||
def serialize_brick(brick):
|
||||
brick.serialize_brick()
|
||||
Reference in New Issue
Block a user