Hello to everybody,
the search couldn’t solve my problem, so maybe somebody can help me here.
what i want to do:
I have 3 lists:
List1: Is a calculated parameter - made out of shared parameters --> final unit --> m3/h
List2: Is a calculated parameter - made out of shared parameters --> final unit --> m3/h
List3: Is a calculated parameter -> from the “area” parameter and an figure -> final unit should be --> m3/h
Out of this three lists - i want to make a “maxlist” for each item. So my code checks, which item of [i] is the biggest a inserts it into my maxlist.
This is already running.
whats the problem:
The calculated parameter wich is calculated from the “area” - which is an original Revit parameter -> is from its value wrong, when i write it into a shared parameter. So i guess i ned to make a conversation…
How do i know - what revit makes out of my m3/h into SI-units ?
How do you handle such conversations?
list1=IN list2=IN list3=IN compare= item=0.0 for i in range(len(list1)): item = (max(list1[i],list2[i],list3[i])) compare.insert(i,item) OUT=compare