# Revit critical path Logic

**URL:** <https://forum.dynamobim.com/t/revit-critical-path-logic/62846>\
**Category:** Revit\
**Created:** [April 13, 2021, 7:11pm UTC](https://forum.dynamobim.com/t/revit-critical-path-logic/62846 "2021-04-13T19:11:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jobinsunny99](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jobinsunny99/32/153690_2.png) [@jobinsunny99](https://forum.dynamobim.com/u/jobinsunny99)\
**Post date:** [April 13, 2021, 7:11pm UTC](https://forum.dynamobim.com/t/revit-critical-path-logic/62846/1 "2021-04-13T19:11:27Z")

</div>

Anybody knows the logic used by revit to find critical path?..I want to write one dynamo script to find critical path for water supply pipes.

---

<div class="post-metadata">

**Author:** ![haganjake2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/haganjake2/32/119069_2.png) [@haganjake2](https://forum.dynamobim.com/u/haganjake2)\
**Post date:** [April 14, 2021, 9:24am UTC](https://forum.dynamobim.com/t/revit-critical-path-logic/62846/2 "2021-04-14T09:24:35Z")

</div>

Not an M&E egineer so not sure how to answer your questions directly but a quick forum search returned these similar posts.

Have a look to see if any of them help explain the logic

> [@Critical path sections](https://forum.dynamobim.com/t/critical-path-sections/47967):
>
> Hello to all, I want to pick up all section included in Duct pressure loss as Critical path and to perform Graphical override (basically to select all elements and to colour them). Now, I did take a look to the Revit API documentation, there you can find a Method GetCriticalPathSectionNumbers, link: [https://www.revitapidocs.com/2015/b68ff5b9-e8cf-2565-2b50-03a8d2489ac3.htm](https://www.revitapidocs.com/2015/b68ff5b9-e8cf-2565-2b50-03a8d2489ac3.htm) Now, there is a code for C#, VB and Visual C++. I know that Dynamo can use Python but I do not know how to use any of th…

> [@Pipe pressure loss calculations due to change in elevation for domestic water system](https://forum.dynamobim.com/t/pipe-pressure-loss-calculations-due-to-change-in-elevation-for-domestic-water-system/15951/4):
>
> Exactly that’s what i need to be done, making dynamo calculates the total pressure between the pump and every possible route.
