# Temperature Units Issue

**URL:** <https://forum.dynamobim.com/t/temperature-units-issue/73944>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [March 3, 2022, 11:46pm UTC](https://forum.dynamobim.com/t/temperature-units-issue/73944 "2022-03-03T23:46:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![waqarkhan9494](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@waqarkhan9494](https://forum.dynamobim.com/u/waqarkhan9494)\
**Post date:** [March 3, 2022, 11:46pm UTC](https://forum.dynamobim.com/t/temperature-units-issue/73944/1 "2022-03-03T23:46:44Z")

</div>

Hi ,

I am using a dynamo script to **populate parameter values from an excel file inside family editor** in Revit. All of the parameters are correctly exported except **“Temperature”** … In Dynamo I can see that:

**55 (In Dynamo) = 14805.10 degree celsius (In Revit)**  
**-40 (In Dynamo) = -11239.15 degree celsius ( In Revit)**

Can some one help me fix this issue. I need to show 55 and -40 Inside Revit as Well.

Please see the images below:

 ![Unit Issue 1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/e/0e69a0599c313108856946c9f9a5d2079f4de088.jpeg)  
 ![Unit Issue 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/a/baa4a5b125791499107b71538218202301d5967a.jpeg)  
**strong text**

---

<div class="post-metadata">

**Author:** ![Hyunu\_Kim](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hyunu_kim/32/100239_2.png) [@Hyunu\_Kim](https://forum.dynamobim.com/u/Hyunu_Kim)\
**Post date:** [March 4, 2022, 4:47am UTC](https://forum.dynamobim.com/t/temperature-units-issue/73944/2 "2022-03-04T04:47:35Z")

</div>

What’s the type of the parameter? There is no parameter or unit for temperature in Revit.  
 ![2022-03-04 13_46_01-Autodesk Revit 2022.1 - Family1 - Floor Plan_ Ref. Level](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/1/810a2b8116ac41c7e9e69dd0a4b9e8962d9f1d92.png)

---

<div class="post-metadata">

**Author:** ![waqarkhan9494](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@waqarkhan9494](https://forum.dynamobim.com/u/waqarkhan9494)\
**Post date:** [March 4, 2022, 11:04am UTC](https://forum.dynamobim.com/t/temperature-units-issue/73944/3 "2022-03-04T11:04:31Z")

</div>

Hi ,

The type of the parameter is “ElectricalTemperature”. See image below,

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/2/c258c31944340867b2157598bbcc046670392b8d.png)

---

<div class="post-metadata">

**Author:** ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)\
**Post date:** [March 4, 2022, 11:24am UTC](https://forum.dynamobim.com/t/temperature-units-issue/73944/4 "2022-03-04T11:24:54Z")

</div>

Hi,

I guess you need this node:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/3/a3817827647ebb228d561e984e961e80e0fc511d.png)

---

<div class="post-metadata">

**Author:** ![Elie.Trad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/elie.trad/32/110373_2.png) [@Elie.Trad](https://forum.dynamobim.com/u/Elie.Trad)\
**Post date:** [March 4, 2022, 12:30pm UTC](https://forum.dynamobim.com/t/temperature-units-issue/73944/5 "2022-03-04T12:30:12Z")

</div>

@waqarkhan9494 check this:

> [@Temperature value conversion](https://forum.dynamobim.com/t/temperature-value-conversion/36273/3):
>
> These formulas may make a little more sense if you’re familiar with [Temperature Differences](https://forums.autodesk.com/t5/revit-mep-forum/converting-temperature-difference-parameter-to-number/td-p/8672437) in Revit. Revit uses absolute units internally - meaning that in order to convert temperatures to numbers you have to do a weird conversion to temperature differences in order to get unitless values and therefore ignore the difference in units. That seems to be how Revit handles all temperature units now. Parameters that read ΔT return correct values (I assume because they’re essentially unitless). While…

> **[Converting temperature difference parameter to number?](https://forums.autodesk.com/t5/revit-mep-forum/converting-temperature-difference-parameter-to-number/td-p/8672437)**
>
>   Converting a temperature to a number can be accomplished using this equation:  (Temperature Parameter - 0 °F) / (1 °R - 0 °R)   How would one convert the temperature difference parameter to a number?    

and use this formula to convert:

```auto
rankine = 273.15;
((celcius-0) + rankine)/((1-0) + rankine)

```

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/8/98fbc0fb39841257372eb6f9fb07cb8287e06002.png)

---

<div class="post-metadata">

**Author:** ![waqar.a.khan949](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@waqar.a.khan949](https://forum.dynamobim.com/u/waqar.a.khan949)\
**Post date:** [March 22, 2022, 5:19pm UTC](https://forum.dynamobim.com/t/temperature-units-issue/73944/6 "2022-03-22T17:19:10Z")

</div>

Can you please help with this issue @tradelie

> [@Batch Create Shared Parameters In Families From Directory](https://forum.dynamobim.com/t/batch-create-shared-parameters-in-families-from-directory/74659):
>
> Hi I have several family documents in a directory, I am trying to first filter them based on the category and a paramater, In the second step I am trying to add shared parameters to these families. Work Flow Chart: The script shows no errors but the issues arise, when I check the output. When I open the families it gives me the following error and the parameters are not added. [Capture] After I close it and re-open, I can see that the parameters are added. But If I dont save th…
