The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Import/Export to other CAD/BIM formats (DWG/DXF, IFC, SketchUp, 3DS etc.), spreadsheets, databases etc.

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, Gordana Radonic, nbalogh, mnguyen, gkmethy

By felcunha
#324422
Hello everybody,
I'm struggling to set pre-defined enumerated values for a IFC property set as IFCPropertyEnumeratedValue.
I can't map them so I don't know how to set different values as required from a list.
Can someone help me?
Thanks in advance,

Capture d’écran 2021-04-09 à 07.24.21.png
Capture d’écran 2021-04-09 à 07.24.21.png (170.83 KiB) Viewed 212 times
User avatar
By LaszloNagy
#324482
I have never tried this, but looking at it now, yes, it is true that you can only map to IFC Properties with the "Single" Property Type, but not when the Property Type is any of the other four types (Enumerated, Bounded, Table, List).
However, after you created the IFC Property, you can go to the File > Interoperability > IFC > IFC Project Manager Dialog, select all the IfcBuildingElement Proxies, and define the Enumerated Values by clicking the ellipsis button (...) in the Value column for the IFC Property.
In the Dialog, you can click the New button to add and define as many enumerated values as you want, then use the checkmarks to the left of their value to select which value the given element uses.

In the below example, I defined 4 values, and used the "CCC" value for the selected element (multiple selections are possible).
I suppose that if you set the proper values for all elements, they will be correctly exported as Enumerated values in the generated IFC file.

IFC_EnumValues.png
IFC_EnumValues.png (105.22 KiB) Viewed 161 times

One suggestion: GRAPHISOFT recommends that you do not start the name of custom IFC Property groups with "Pset_" because that is the naming used by default IFC Properties. You should use some other naming convention so that you can very easily distinguish between default and custom IFC Properties.
By felcunha
#324526
Thank you Laslo,
I've already seen we can assign multiple values to an element.
The problem here, you've guessed, we'll have to assign it manually to every element (with the same properties of course).
Far from an automation logic!!
---
For the naming of the Pset, I've to follow the client's BIM rules so I've no choice... but I'll tell them to change it if possible.

Cheers,

Felipe
User avatar
By LaszloNagy
#324527
You could schedule the elements and their custom IFC Property, then assign those values in the schedule cells. That could be a faster way of doing it.