OpenDoc6 api is not working for large assembly.

I have one large assembly in which i want to update thesubassembly by opening sub assemblies.But when i am using onlyOpenDoc6 Api it gives following error
swFileLoadWarning_AlreadyOpen.
Can anyone tell other way to open the sub-assembly.SolidworksApi macros