mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
bsdd ui - preload properties when loading classes
It was confusing that you still needed to click on the first property, even though it was selected by defalt.
This commit is contained in:
@@ -28,6 +28,8 @@ if TYPE_CHECKING:
|
||||
|
||||
def import_bsdd_classes(bsdd: type[tool.Bsdd], obj: str, obj_type: tool.Ifc.OBJECT_TYPE) -> None:
|
||||
bsdd.import_classes(obj, obj_type)
|
||||
# Preload properties UIList for newly loaded bsdd class.
|
||||
bsdd.import_class_properties()
|
||||
|
||||
|
||||
def search_bsdd_properties(bsdd: type[tool.Bsdd], keyword: str, obj: str, obj_type: tool.Ifc.OBJECT_TYPE) -> None:
|
||||
|
||||
Reference in New Issue
Block a user