How can I access the Associated Model node of a light in the object model?.
I search the scripting help every way I could and don't find nothing.
This node doesn't list in the Parameters list or the properties list.
I can do it this way (see script below) but I would like to do it with the object model.
I also would like to list the content of this node, but I can't figure out the way to access it. Using the FindChildren method I can list all the lights, but if i use the FindChildren again with the lights, it doesn't return the Associated Models node. A little help with that would be appreciated a lot.
script:
dim oRoot
set oRoot = Application.ActiveProject.ActiveScene.Root
set oObj = oRoot.AddGeometry("cube","MeshSurface","myCube")
set oLight = oRoot.AddLight("Point", false,"myLight")
SIAddToGroup "myLight.light.Associated Models","myCube"