Page 1 of 1

Family property not working?

Posted: Tue Mar 25, 2014 12:43 am
by jameshale
I need to get a list of all nodes under a parent when any of the children nodes are selected.
The Family property seems to promise this
However when I have tried it I only get a single node returned, not the list as described in the notes.
This is regardless of whether I choose a child or even a parent node.
The property syntax I am using is....

"Family_of_node_ID_[x]" where x is the selected node.

Am I doing something wrong or is this a bug?

Btw, any hope you will expand the notes for v2

James

Re: Family property not working?

Posted: Tue Mar 25, 2014 8:21 am
by wilstrand
Hi James!

If you,
need to get a list of all nodes under a parent when any of the children nodes are selected.
then you have to use the "family" property for the parent of that child node. Like this:

Code: Select all

put the parent_of_node_ID_[x] of grp "rTree" into tParent
get the family_of_node_ID_[tParent] of grp "rTree"
where x is the selected node.

PS. I'm sorry that the notes for V2 are a little thin and I will catch up on that soon.

Best regards
Mats

Re: Family property not working?

Posted: Tue Mar 25, 2014 1:28 pm
by jameshale
Ah Ha.

Thanks Mats, that is what I wanted.