I have a design with outdated central library path information. I have found that...
dim oProjectData : Set oProjectData = Application.GetProjectData
oProjectData.CentralLibraryPath = "path to lmc"
... sets correct target library in settings menu, but later in the code (when initiating AddPartInstance method) it seems that the data is not taken from the specified path, but from the old central library path. Am I doing this wrong way?