Object: Element <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
(Collections | Element
Object: Element <DataPlugin>
The Element object contains information about the currently edited data store.
The following example transfers the information about channel groups in the FromStore object, into the TDM data model structure:
Sub ReadStore(FromStore) Call FindAndCreateGroups(FromStore.Children) End Sub Sub FindAndCreateGroups(StoreElements) Dim StoreElement Dim TDMGroup For Each StoreElement in StoreElements If StoreElement.IsKindOf(eStoreChannelGroup) Then Set TDMGroup = Root.ChannelGroups.Add(StoreElement.Name) Call TDMGroup.Properties.AddProperties(StoreElement.Properties) Else Call FindAndCreateGroups(StoreElement.Children) End If Next End Sub
Properties
Children | Name | Properties | Type