Up a level to AcSmDatabase      
AcSmDatabase.GetDirectlyOwnedObjects Method

Returns an array of the directly owned objects. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition.

Syntax

GetDirectlyOwnedObjects(

objects As Object()) As Object

objects Output SAFEARRAY of the IUnknown pointers of the directly owned objects
   Comments?