I'm working on a solution to automate parameter population in electrical J-Box families based on their mechanical host units. The idea is to have switches pull specific data from their host units: "Type Mark" (e.g., "RTU") for the type of family and "Mark" (e.g., "1") for the number, and populate this into corresponding parameters in the switch family.
I know use dynamo... but is there a way to natively do this in Revit. Can families pull data off each other via proximity?
I'm working on a solution to automate parameter population in electrical J-Box families based on their mechanical host units. The idea is to have switches pull specific data from their host units: "Type Mark" (e.g., "RTU") for the type of family and "Mark" (e.g., "1") for the number, and populate this into corresponding parameters in the switch family.
I know use dynamo... but is there a way to natively do this in Revit. Can families pull data off each other via proximity?
I was able to accomplish this via Dynamo the other day. See the link below on how I pulled the Mark parameter from the Mechanical Equipment and associated it to our JBoxes.
I was able to accomplish this via Dynamo the other day. See the link below on how I pulled the Mark parameter from the Mechanical Equipment and associated it to our JBoxes.
I don't think there is a way to do this natively in Revit.
I don't think there is a way to do this natively in Revit.
That dynamo script looks cool! Ill give a try and let you know. Thanks!
That dynamo script looks cool! Ill give a try and let you know. Thanks!
I had to change a few things around but I got it to work. We dont link are mech models in. Our mech department is in house. You wouldn't know how to call Type Mark would you? I can get the 1 off of RTU-1 now I need to get the RTU portion. Thanks again for posting this.
I had to change a few things around but I got it to work. We dont link are mech models in. Our mech department is in house. You wouldn't know how to call Type Mark would you? I can get the 1 off of RTU-1 now I need to get the RTU portion. Thanks again for posting this.
I would suggest posting to the Dynamo Forum. I am really no expert. I got some help from there as well to write this one. I cannibalized 3 scripts to make that one.
I would suggest posting to the Dynamo Forum. I am really no expert. I got some help from there as well to write this one. I cannibalized 3 scripts to make that one.
@zbischof wrote:You wouldn't know how to call Type Mark would you? I can get the 1 off of RTU-1 now I need to get the RTU portion.
You need to take your list of elements (Family Instances) and get the FamilyType from them. At that point, you get GetByParameter Type Mark from your list of elements (FamilyType). This workflow also applies to any other Type Parameters you may want.
@zbischof wrote:You wouldn't know how to call Type Mark would you? I can get the 1 off of RTU-1 now I need to get the RTU portion.
You need to take your list of elements (Family Instances) and get the FamilyType from them. At that point, you get GetByParameter Type Mark from your list of elements (FamilyType). This workflow also applies to any other Type Parameters you may want.
Can't find what you're looking for? Ask the community or share your knowledge.