Reading a P6 .xer the LinkLag data doesn’t seem to be populated.
string fileName = @"C:\Birthday Party.xer";
Project m_Project = new Project(fileName);
foreach (var xxx in m_Project.TaskLinks) {
if (xxx.SuccTask.Get(Tsk.ActivityId) == "A1020" && xxx.PredTask.Get(Tsk.ActivityId) == "A1060") {
Console.WriteLine("Relationship: {0} Lag: {1} Format: {2} ", xxx.LinkType, xxx.LinkLag, xxx.LagFormat);
}
}
image.png (11.0 KB)
Birthday Party.zip (5.3 KB)