Dependent Parameter

Dependent Parameter

yuvdal
Enthusiast Enthusiast
1,141 Views
4 Replies
Message 1 of 5

Dependent Parameter

yuvdal
Enthusiast
Enthusiast

Hello,

 

I'm structural engineer and I'm operate analysis with the analytical model in Revit.

After I arrange the analytical model I want to make Load Map that display the allowed Dead Loads and Live Loads for each floor.

The problem is that visually, tagging the loads looks bad and takes a long time (you have to tag both the Dead Load and Live Loads separately)

2020-05-19_09-30-46.png

Because of this reason I would like to make Loads Map with the Architecture tool of creating an Area.

2020-05-18_15-18-31.png

I am now developing an add-in to do this Loads Map automatically and for that I added two project parameters for Areas category - Dead Load and Live Load.

My question is if I can make dependency between two parameters (one is build in parameter and second is project parameter)?

2020-05-19_09-42-03.png

Thanks,

Yuval Dolin

0 Likes
Accepted solutions (1)
1,142 Views
4 Replies
Replies (4)
Message 2 of 5

lukaskohout
Advocate
Advocate
Accepted solution

You definitely cannot do this natively in Revit UI. To the project parameter in Areas you can only assign project GLobal Parameter, not parameter from another element. That means that it will not be possible in the API as well. At least not directly

 

If you are developing an addin I can see a way how to do this:

- have an unique identificator for the Area(e.g aA.1001 - area building A floor 1 number 0001) and add this to Area Load, create some project parameter to store it)

- probably you have to do that manually of with some geometry compariso

- your addin could collect all areas and area loads and pair them and copy the values from area load to corresponding area

- this addin can even be working in the backround and check for any changes and transfer them automatically


Hitting Accepted Answer is a Community Contribution from me as well as from you.
======================================================================
0 Likes
Message 3 of 5

yuvdal
Enthusiast
Enthusiast

You mean that I can use Iupdater to check for any changes and transfer them automatically?

0 Likes
Message 4 of 5

lukaskohout
Advocate
Advocate

Yes, exactly.

But much sipmpler way is to run it once a day manually.


Hitting Accepted Answer is a Community Contribution from me as well as from you.
======================================================================
0 Likes
Message 5 of 5

yuvdal
Enthusiast
Enthusiast

Ok, thank you very much! 🙂

0 Likes