I have this special case when I have an elements attribute Data Reference that is lost when modified from none to a Pi Points. Doesn't work in AF 2.5 and seems to work fine in AF 2.4.
This is the line of code used to return the elements:
Dim elementList As AFNamedCollection(Of AFElement)
elementList = AFElement.FindElements(StaticHolders.Database, m_selectedElement, "Secondary Triggers", AFSearchField.Name, False, AFSortField.Name, AFSortOrder.Ascending, 2000)