Create a calculated parameter in schedule

Create a calculated parameter in schedule

Anonymous
Not applicable
406 Views
1 Reply
Message 1 of 2

Create a calculated parameter in schedule

Anonymous
Not applicable

Hi everybody

I want to add a calculated parameter in schedule with Revit API. Since e.g., "Width" is in Type not in Parameter List, how can I create a formula (For example "Area*Width") in Revit API?

 

Best Regards

0 Likes
407 Views
1 Reply
Reply (1)
Message 2 of 2

Yien_Chao
Advisor
Advisor

i believe the width is a parameter in the type and the Area from the instance? if that so, you must retrieve the width value by finding the parameter in the type and multiply it by your instance value.

 

for each instance, you can get the type with element.GetType().

 

Y