.NET Customisation User Guide

.NET Customisation : Database Interface : Filters/Iterators
The DBElementCollection class can be used to iterate through the database hierarchy. The iterator is created with a root element and an optional filter. There are then methods to step through the hierarchy and return the element at the current location.
TypeFilter filt = new TypeFilter(DbElementTypeInstance.NOZZLE);
collection = new DBElementCollection(ele, filt);
foreach (DbElement ele in collection)

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo