Dependency Lag Percent vs Duration based

G

Guest

Hello,
Lets say:
task1 has a FS relationship +13% with task2. Using the following code:

Private Sub DependencyTesting()
Dim TD As TaskDependency
Dim T As Task
For Each T In ActiveProject.Tasks
For Each TD In T.TaskDependencies
Debug.Print TD.Lag
Next TD
Next T
End Sub

will print out:
1 instead of 1.3. Any way I can get the 13% instead of 10%?

In addition, i am not sure how to determine if the lag type is percent or
duration based. I could think that there is a 1 minute lag instead of 10
percent. Is there another way to get the lag type and quantity?

Thanks,
Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top