References

Task1: Add custom pset with attributes from JSON to ifc

Task 1: Understand how to manually add custom Pset in Bonsai.

  1. Add Bonsai add-on: In Blender, ‘Edit’—’Preferences’—’Get Extensions’, search for ‘Bonsai’, click ‘Install’. Make sure you have it in ‘Add-ons’
  2. Open ifc file: click ‘File’—’Open IFC Project’. You will be in the ‘BIM’ panel.
  3. Add a custom Pset: On the right sight, go to ‘Object Information’, it is the second cube icon. Find ‘Object Metadata’—’Property Sets’, click the + button to add a custom Pset

Task 2: Explore ways to add custom Pset using Blender/Bonsai script.

Task 3: Use JSON in CEDD folder for adding custom Pset using Blender/Bonsai script.

Recorded the task details for you. Zoom recording link below. Also provided the locations for original files (IFC, wld3, JSON) and corrected IFCs below. Please coordinate with @⁨Min⁩ for support.

https://us06web.zoom.us/rec/share/iZf8MxVcmzsAPoNl2cc85dC0rk84PTVO0JM7_vsMdhTWTDeIzda1WN9MjzVAVQYx.lpiMPYS9C2uX9L3x Passcode: Y=#5eNeD

Original Files: https://www.dropbox.com/scl/fo/mg3fxgad3fhdih4jjreon/AF5Zb87Lk7acmr6l_7KiRK0?rlkey=d6mmpmagd3bft1lchoc44vj6e&dl=0

Corrected IFCs: https://www.dropbox.com/scl/fo/5ot8rtoeq0jjesb03c0xw/ANf2B3Yn9E9-9z2zoUGATGw?rlkey=seq583co1tu932m2p7j0351pu&dl=0

Sample JSON file:

{"attributes":
{"OBJECTID":2,
"UUMS_UUFID":"DSD-024-0001698",
"UUMS_DP":"DSD",
"UUMS_US_Z":1.6739999999999999,
"UUMS_DS_Z":1.5529999999999999,
"UUMS_STAT":"A",
"UUMS_RL":"TL",
"UUMS_Z_SRC":"AR",
"UUMS_QLS":"PAS 128",
"UUMS_QLG":"D",
"UUMS_VDATE":1667520000000,
"UUMS_SDATE":1666051200000,
"UUMS_DIA":3000,"UUMS_DO":"DSD",
"FEAT_NUM":"SCP1006321",
"FR_PNT":"SGJ1013640",
"TO_PNT":"SGJ1013641",
"WIDTH":3000,
"HEIGHT":0,
"SHAPE_DESC":"Rectangular",
"GEOMETRY_L":0,
"Shape_Leng":18.330407059599999,
"GlobalID":"{75286234-9867-49CC-9279-03D28589B18C}",
"ESRI3DO_TYPE":"3D_shapebuffer",
"ESRI3DO_SHASH":"cb589775fab3b23a0cb71cf898fefc899a874dfd30aa14ca98ed15090c62c201",
"ESRI3DO_OX":832754.7554404987,
"ESRI3DO_OY":840933.99935188983,
"ESRI3DO_OZ":0.053299999999580905,
"ESRI3DO_TX":0,
"ESRI3DO_TY":0,
"ESRI3DO_TZ":0,
"ESRI3DO_SX":1,
"ESRI3DO_SY":1,
"ESRI3DO_SZ":1,
"ESRI3DO_RX":0,
"ESRI3DO_RY":1,
"ESRI3DO_RZ":0,
"ESRI3DO_RDEG":0}}

Attributes we need to add to ifc:

IMG_7626.JPG