i'm having great troubles finding any documentation about TGadget regarding treeview especially. there are several threads here referring to .kids, .sibly, .name, .context etc. but what else is there?
i have a 3d model that is built up from a folder structure, i also have a treeview that is built from that same structure. now i need a 2-way communication between the two, so that the treeview reflects what is selected in the model and vice versa.
i think managing the 3d model through the treeview is pretty straightforward, but i'm having problems the other way around, as i am unable to find an index or a way to directly target a specific node to set as selected in the treeview.
i've had *some* success with adding .kid nodes as pointers in a list, and then using the list to target the treeview, but i am pretty new to bMax and have a feeling that as my structure grows, i am going to have a hard time managing all the lists of kids and parents - not to mention the .kids.kids.kids
do i have to manage a lot of complex lists to do such a seemingly simple task as treeview.setSelected(index), or is there another way?
i have a 3d model that is built up from a folder structure, i also have a treeview that is built from that same structure. now i need a 2-way communication between the two, so that the treeview reflects what is selected in the model and vice versa.
i think managing the 3d model through the treeview is pretty straightforward, but i'm having problems the other way around, as i am unable to find an index or a way to directly target a specific node to set as selected in the treeview.
i've had *some* success with adding .kid nodes as pointers in a list, and then using the list to target the treeview, but i am pretty new to bMax and have a feeling that as my structure grows, i am going to have a hard time managing all the lists of kids and parents - not to mention the .kids.kids.kids
do i have to manage a lot of complex lists to do such a seemingly simple task as treeview.setSelected(index), or is there another way?