On 15/06/2013 at 04:37, xxxxxxxx wrote:
I'm trying to get all occurrences of a specific object type in a document. Specifically, it's a type that is part of a custom shader (a texture object). Just looping of the shader's channels is not enough, because theoretically it could be layers upon layers of objects (through links) where this object type may or may not be used.
Instead of looping through every possible branch, is there a simple way to just give me a list of "GetAllObjectsOfTypeInDocument(int type)" thing?