Assign flow direction to pipe connectors

Assign flow direction to pipe connectors

Anonymous
Not applicable
905 Views
2 Replies
Message 1 of 3

Assign flow direction to pipe connectors

Anonymous
Not applicable

Hi there,

 

I want to extract a pipe system through the Revit API, and one information I want is the flow direction (in or out) between the pipes. My plan was to use the direction property in the connectors, but in many cases, it will be bidirectional (as in the attached screendump from Revit Lookup). I have succeeded in creating systems, where all connector directions are either in or out, but I can't seem to identify when revit will identify the directions, and when it will write bidirectional. All components have only in- and out-connectors, as specified in the families.

 

When working with ventilation systems it is not an issue.

 

Does anyone have ideas to how I can make sure that Revit will assign directions to connectors? Or should I bite the bullet and write a script that will assign directions after extraction? I'm aware, that this will be the most robust solution, but I'm afraid it's a little out of my programming capabilities, so for the moment I would prefer to solve the problem in Revit.

eusb_0-1632482383421.png

 

0 Likes
906 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

I am not sure that you can assign the flow direction at all. Maybe it is automatically generated by other system properties. Regardless, I would suggest that you take recourse to the TraverseSystem SDK sample. Search this forum for 'TraverseSystem' to read all about it in other recent related discussions. That ought to provide all you need. I hope that helps.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

Anonymous
Not applicable

It seems the problem was that in the built-in piping systems, Hydronic Supply/Return will not be calculated. By using my company's systems, I can enable calculation, which solves the issues. It seems odd that the built-in hydronic system types do not allow this.

0 Likes