12-19-2013 11:33 AM
You should be able to retrieve a list of attached objects using the UIObject::attachedObjects property. From there you could iterate through the list to find the object with a particular object id.
Obligatory advice: use iterating like this and findChild sparingly. I'd use a different way of passing references unless this was absolutely necessary.
12-19-2013 11:38 AM
@superdirt just because something is in attachedObjects doesn't mean it's in the Scene Graph, and we are dealing with dynamic objects here, perhaps you missed that when reading the whole thread.
12-19-2013 12:11 PM
ah I thought OP wanted to find the instance of the ComponentDefinition as the title of the thread suggested. Using attachedObjects wouldn't help in solving the actual problem.
I would just store the reference to the sheets in C++. Recursive search through the entire scene is bad.