Parameter Info Transfer Between Two Different Revit Families

Hi,

I have two different Revit families in a model. One represents a specific type of opening placed through walls and floors, and the other is a type of pipe. The pipe has a parameter under ‘Identity Data’ named ‘Comments’ that contains routing information. The opening has the same parameter. I need a definition to transfer the Comments info contained in each pipe (green cylinder) to each individual opening (red cylinder). These two different Revit families, their types, and elements don’t talk to each other in any way. The pipes run through the openings in 3D space, so my guess is that their intersections are the only way to go to link each individual instance together; any help getting started is greatly appreciated.



Conduit-Sleeve Parameter Info Transfer CLEAN.rvt (5.5 MB)

Revit 2023.1 and Rhino 7

Thanks!

Hi Francisco Benitez,

I changed the forum category to Rhino.inside - Revit.

Please post a small example file and the versions you are working with and we’ll take a look.

Updated my post sir, sorry for the missing info

Here is something to get you started, there could be outlier conditions that need to be accounted for, such as empty collisions, doubles, …


R7-Revit2023-collision.gh (14.9 KB)

1 Like

Thanks!

Reversing the streams might be more suitable for dealing with outliers…

note you would cull out the -1 and need to switch the parameter modification to the other stream as well

Thank you @Japhy, it is looking good after some adjustments, I’m testing it with larger files. I’m curious, what’s the purpose of this Line component you added? I’m looking for a visual way to check for each data set to correspond to their target opening as intended. Thanks!

Great to see you got it going. The line shows you the connection, if its going to the wrong member you’ll need to check to ensure your trees match (same length).

I’m struggling to come up with a way to have the elements match each other precisely. I am not familiar with trees. I’d like to get better at this, any suggestions for resources are greatly appreciated. I added intersection curves as helper geometry to draw lines from the centroid of the cylinders to the edge of each of the intersection curves. If there is a way to use these curves to link one data set to another I’d like to see what that looks like. I think that’s a pretty good way to produce a clean 1 to 1 relation between the two sets (at least as a starting point). Also, I tried to use the solid intersection component to have live curves in all collisions but I couldn’t get it to work so I said screw it, and did an intersect two sets command in Rhino to be done with it.

R7-Revit2023-collision - FB COPY.gh (26.2 KB)

Here is David Rutten’s Masterclass on data trees…

1 Like