In BIM, every element has its own information, such as name and materials.
Nowadays, you may attach items type after creation of elements by hand in CONNECT Edition, however, how to do this with VBA?
Example of extended data in element from GIS:
Write a simpified codes here:
Dim oElement As Element Dim oItem As ItemType Dim oItemTypeLibrary As ItemTypeLibrary Dim oIPH As ItemTypePropertyHandler Set oElement = ActiveModelReference.GetElementByID(DLongFromLong(123456)) Set oItemTypeLibrary = ...... 'Complex Part Set oItem = oItemTypeLibrary.GetItemTypeByName("YourTypeName") 'e.g. name = borehole Set oIPH = oItem.AttachItem(oElement)