Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8702

DataTree similar datastructure

$
0
0

@Petras_Vestartas wrote:

I would like to ask help how to implement a similar data structure as datatree.

I have a flatten list of custom class and would like to access items by pair of indices.

For instance item1 would have id 0 and 5.

Essentially a class that imolements Ienumerable, but instead of having indexing of integers, I would like to access items by pair of indices.

Or maybe more simple how can I extend a custom class with properties of Datatree?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8702

Latest Images

Trending Articles



Latest Images