mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user