Reading direction property of connectors on ducts/pipes


This is the Dynamo script I’ve made. Each of the Python nodes are very similar. The bottom one extracts the connector direction, the three above respectively the x, y and z co-ordinate for its position (and then converted from feet to millimeters).

The blue dots are the connector positions filtered by direction = In, the green arrow indicates the flow direction of each system.

This is the script I used, borrowed and adapted from this topic: http://dynamobim.org/forums/topic/the-mep-side-needs-a-lot-of-attention/
I hope that somehow I’m overlooking something obvious, because I’m starting to run out of ideas… any help appreciated :slight_smile: