Central File Location of Linked Files

Curious if I can pick your brain for a technique to query the central file locations of linked models in our Revit base file. I am not interested in the saved file location under the manage links tab, but rather the deep seated central location the files looks to sync to.

Just a bit of background, improperly linked files (files that are copy pasted, and not e transmitted) cause performance issues that are tricky to troubleshoot. In a model with 40 links, it can be difficult to identify which ones have been disassociated from a consultants server.

Any help would be greatly appreciated!

Beno

You can get it the same way you get the central model path for the current model. You just need to input the Revit document for the link.

BasicFileInfo.Extract(doc.PathName).CentralPath