On 17/11/2017 at 08:36, xxxxxxxx wrote:
Many thanks again for your awesome help!
It works, but not with all the nodes that I want. I think it may be related to the IDs, which to be honest not sure how you got it in the first place.
I will try and explain my problem in more detail below:
I have an Xgroup parent node which encloses all its child nodes. The code you gave to change it's size unfortunately didn't work for the Xgroup but worked for all it's child nodes. Does this has something to do with the ID?
|_ MainGrp <--- This is the one I want to affect it's size initially
If I get the ID by calling the node
.GetOwnerID() gives me 1001142.
The IDs 1001 and 1000 that you gave in your example, where did you get it from and why that specific order please?
node.GetDataInstance().GetContainerInstance(1001).GetContainerInstance(1000) = 50
Apologies for the all the questions, but having a hard time understanding it .
Appreciate your awesome effort and thank you again!