Returns a ProjectItemCollection containing one ProjectItem object for each of the owners of this the object. Most objects only have one owner but others may be shared such as branch Property, Shader and Operator objects.
// get accessor Object rtn = ProjectItem.Owners; |
' ' This example demonstrates how to find an object's owners ' NewScene , false set oRoot = Application.ActiveProject.ActiveScene.Root set oGrid = oRoot.AddGeometry( "Grid", "MeshSurface" ) str = "" for each oOwner in oGrid.Owners str = str & ", " & oOwner.Name next str = Right( str, Len(str)-2 ) Application.LogMessage "Object has owners : " & str ' Expected results: 'INFO : Object has owners : Scene_Root, Layer_Default, Background_Objects_Partition |