|
![]() |
Several parts of the API have structures which are parent/child or hierarchical in nature. The base classes involved are common throughout various parts of the API and can be found in various areas including selection sets. More on Selection sets can be found here.
SavedItem
This abstract base class represents an item that is persisted in a Navisworks file.
As derived classes can themselves contain collections of other SavedItem derived elements there is an IsGroup property which identifies the instance as being derived from GroupItem.
GroupItem
This abstract base class, also derived from SavedItem, represents an item which may have child elements which are also derived from SavedItem.
The GroupItem..::..Children property is an instance of SavedItemCollection and provides a collection of SavedItems.