GH_Structure(T).FlattenData Method

GH_StructureTFlattenData Method

Collects all data in the structure under a single list. Does not alter the state of this structure.

Namespace:  Grasshopper.Kernel.Data
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public List<T> FlattenData()
Public Function FlattenData As List(Of T)

Return Value

Type: ListT
A linear list containing all data items in all branches.
See Also