Improve usability of pset template UI by removing save button and using new explicit applicable entity defaults to mitigate possible invalid pset templates.

This commit is contained in:
Dion Moult
2023-09-10 17:37:35 +10:00
parent d39df4a933
commit 913ccd9289
5 changed files with 53 additions and 21 deletions
@@ -21,7 +21,11 @@ import ifcopenshell
class Usecase:
def __init__(
self, file, name="New_Pset", template_type="PSET_TYPEDRIVENOVERRIDE", applicable_entity="IfcTypeObject"
self,
file,
name="New_Pset",
template_type="PSET_TYPEDRIVENOVERRIDE",
applicable_entity="IfcObject,IfcTypeObject",
):
"""Adds a new property set template