Adding element specific schema defined Psets - what am I doing wrong or is it a bug?
I want to add an IFC schema predefined Pset to an element type, e.g. add the Pset_FurnitureTypeTable to an IfcFurnitureType of PredefinedType: Table. But this or any other specific Pset - even though defined in the schema - is not available in the Property Editor -> Scene Tab -> Object Information -> Object Metadata -> Object Property Sets dropdown.
But if I add a Pset_xxxTypeCommon (this works for every IfcElementType, but I first have to set one of the properties so it is saved to the type, e.g. check the Status -> New box ) the specific Pset definition is available if I type the exact name into the Pset Name text field.
Am I doing something wrong or is it a bug in BlenderBIM?
Here is a step by step example to illustrate my issue.
- Start Blender with BlenderBIM and create a new IFC project
- select Toolbar -> Create Element
- Header -> Launch Type Manager
- Search for IfcFurnitureType -> Create New Type
- select for Predefined Type: Table and name it accordingly like - table
- in the Outliner under Collection Types (hidden / grayded out) select the newly created IfcFurnitureType/table
- Property Editor -> Scene Tab -> Object Information -> Object Metadata -> Object Property Sets dropdown -> select Pset_FurnitureTypeCommon and press the little + button
- Change on of the displayed property values to trigger that this Pset is saved to the type, e.g. check Status: New
(changing no property value does not save the Pset to the type, but we need it to be saved to change the Pset definition afterwards)
Aside: Directly typing the correct Pset name into the name text field does not work as it does not changes the display properties defined for this Pset - Select Enable Pset Editing for the newly saved Pset by pressing the pen button
- Change the name to Pset_FurnitureTypeTable -> save again
- Again select Enable Pset Editing -> now only the property values as defined by the schema are displayed -> change one property, e.g. set NumberOfChairs -> save
- Now the Pset_FurnitureTypeTable shows the property Status[New] and the NumberOfChairs[xxx] values -> but the Status[New] property can not be deletes from this Pset definition
Tagged:
Comments
Blender 4.0.2 with BlenderBIM v0.0.231104
If you create a new IFC4x3 file, does Pset_FurnitureTypeTable show up in the dropdown? maybe its not available in IFC4.
It was a bug https://github.com/IfcOpenShell/IfcOpenShell/commit/bf35239979f252672b57a60a484069adb4883803
Fixed :)
@Moult Answering in my teacher voice, while slightly adjusting my glasses: "I see what you did there!"