Automatically Populate Custom Parameter Value from Another Parameter in Revit Family or Element

Automatically Populate Custom Parameter Value from Another Parameter in Revit Family or Element

ivsins_kristers
Explorer Explorer
247 Views
4 Replies
Message 1 of 5

Automatically Populate Custom Parameter Value from Another Parameter in Revit Family or Element

ivsins_kristers
Explorer
Explorer

Hi everyone,
I’m working on creating custom parameters for my Revit families/elements, and I want one parameter’s value to be automatically filled based on the value of another parameter. In ArchiCAD, there is an “expression” feature that allows you to copy the value of one parameter and assign it to another, so you don’t have to manually enter the same data multiple times.

Is there a similar way in Revit to link parameters so that when the original parameter changes, the custom parameter updates automatically? For example, if I have a built-in parameter like “Length,” can I create a custom shared parameter that automatically copies that length value without me typing it in again?

I’m looking for a method within Revit families or element parameters that lets me set up this kind of automatic parameter syncing or formula. Any suggestions or best practices for achieving this would be greatly appreciated!

Thanks in advance!

0 Likes
Accepted solutions (3)
248 Views
4 Replies
Replies (4)
Message 2 of 5

_Vijay
Collaborator
Collaborator
Accepted solution

Hi @ivsins_kristers,

Hope you are doing well.

Yes, you can automate this using Dynamo. I’ll be happy to help you with that—please share a sample file, and I can create the script for you.

Also, regarding Dynamo, it’s better to discuss it in the Dynamo forum.

 

 

Vijayakumar
Head of BIM
Did you find this post helpful? Feel free to like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
Message 3 of 5

ivsins_kristers
Explorer
Explorer

Aren’t there other options? Something built into the Revit system as a command or maybe a plugin? There’s no way ArchiCAD has an “expression” command, but in Revit, you have to add a value to each element individually. But anyway thank you for your help, I really appreciate that, I files are added down below!

0 Likes
Message 4 of 5

azad.Nanva
Advisor
Advisor
Accepted solution

If I understand you only need a parameter to set automatically by the formula:

L=length

Area = Length*Width

Volume=Length*Width*Height

 

azadNanva_0-1754914616757.png

Revit_FY53EqHiwY.gif

 

If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 5 of 5

arq_42
Advocate
Advocate
Accepted solution

The @_Vijay  option is nice for copying parameters from one family to another, or within the same family, but from the project. It's a one-time workaround to copy that data existent at that moment. (you can acomplish that with pyRevit too)

But also, if you're working with families (and both parameters are within the same family), you can use the formula column to copy the parameter values. You only need to write the original parameter name into the formula cell

arq_42_0-1754914868370.png

 

arq_42_2-1754915049317.png

Oh, and you can also create a schedule with both parameters, export it to Excel, modify it, and re-import it.

You can do this with Excel import/export plugin from Mlabs, or with diRoots.

 

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

¿Te resultó útil esta publicación? Dale "Me gusta".
¿Tu pregunta fue respondida correctamente? Haz clic en "ACEPTAR SOLUCIÓN".

0 Likes