I have a collection with name “collectionA” with a go object with name “go1”. This collection creates a collection via collectionfactory that creates another collection… and so on. In a script in one of the created objects I would like to set the parent of the object to go1 of collectionA. But I am NOT able to do this!
I tried:
local url = msg.url("collectionA", "go1", nil)
go.set_parent(".", url, false)
but it doesn’t works! I get
Could not find any instance with id "go1"
Any help? What am I doing wrong? (Tried also many other variation… also randomly at the end )
Thanks!
EDIT: some of this collections created by collectionA are proxy collections… does this prevent to set the parent as I want?