Ok May i have conflict with this, sorry it is not my department but i tried this to facilitate work with MEP team,
but let see if we can brain storm for this, do you think is there a ways to assign a rule in space or some thing to understand where to reduce pipe or to change routing to avoid a conflict with elements?? in my opinion any repetitive task have the same pattern can automate in revit by coding, but the complex tasks the may need to thinking can achieve also but with machine learning but the cons of this way it need to build a reference for you to achieve your goal, what do you think about this?
Then let me know what are the inputs you have to facilitate this workflow regardless automate it by coding or ML?
----------------------------------------------------------------------------------
If the above reply answers your question; Please mark it with ACCEPT SOLUTION
----------------------------------------------------------------------------------
Mohamed Nassar , ACP, Autodesk Ambassador Gold
BIM Support / Structure Modeler