Currently our round dampers used don’t form connections but are still placed/hosted on spiral pipe. To summarize, I want to identify which spiral pipes include these dampers. I am attempting to:
Filter elements only for “Rossi Round Dampers” & “Spiral Pipe” (I currently have within two separate lists, if there is a better way than mine, please let me know).
Locate these elements.
Based on location / equal values, determine which dampers are connected to which spiral pipe (some spiral pipe might not have dampers).
Create a shared parameter such as “Damper Included”.
Populate a value within above mentioned shared parameter such as “Yes” or “No” based on information listed in previous steps.
If anyone can help me with accomplishing this it’d be greatly appreciated. I’ve had minimal experience programming with Dynamo & Python and am still learning. Many thanks!
You don’t need the List.Create node.
Your outputs are already lists.
You only make things more difficult for yourself
by adding extra levels to your lists.
For your problem. There isn’t much to go by.
I think we need to see a little of your .dyn.
Since your dampers are not connected to the MEP system one of the ways would be to do bounding box intersections. Example below - take note of the cross-product lacing on the BoundingBox.Intersects node
Thank you for the reply! I am running into an issue where there aren’t any intersections / any true values. I figured I’d share this before continuing.
Thank you, this works! After adjusting the script, I did some additional research on the lacing to understand the differences (cross product looking for intersection between corresponding cuboids). Pointing this out saved me much time!
How could I take this final list and create a shared parameter; Populate a custom string value for the parts with these intersections?
If I was to do this, I’d just create the shared parameter manually, before running the graph. The shared parameter would be applied to the category anyways, which means all dampers will have it available.