PDM API GetReferenceTree – problem after assembly modification

Hi,

I'm using the SOLIDWORKS PDM API GetReferenceTree(IEdmFile5) to get assembly references. I understand that unchecked changes won't appear, but currently, the method returns nothing at all before check-in.

After checking in, it works fine. Is there a more reliable method to get references, including the latest version before check-in?