# \#units

**URL:** https://forum.dynamobim.com/tag/units/118.md

[Latest](https://forum.dynamobim.com/latest.md) · [Categories](https://forum.dynamobim.com/categories.md) · [Tags](https://forum.dynamobim.com/tags.md)

---

## [Units conversion issue and Set parameter value](https://forum.dynamobim.com/t/units-conversion-issue-and-set-parameter-value/97126)

<div class="topic-metadata">

**Author:** [@martin.smadjaE85FL](https://forum.dynamobim.com/u/martin.smadjaE85FL)\
**Replies:** 5\
**Last updated:** [February 27, 2024, 11:38am UTC](https://forum.dynamobim.com/t/units-conversion-issue-and-set-parameter-value/97126 "2024-02-27T11:38:15Z")

</div>

Hi, I’m facing an issue working inside a family (Planting) and trying to set the value of a parameter (Height) with data|shapes \[Set Active Family Parameter By Name\], after retrieving the max height value from an import…

---

## [Retrieve units from links](https://forum.dynamobim.com/t/retrieve-units-from-links/97848)

<div class="topic-metadata">

**Author:** [@acastillo.cafte](https://forum.dynamobim.com/u/acastillo.cafte)\
**Replies:** 2\
**Last updated:** [February 7, 2024, 8:10am UTC](https://forum.dynamobim.com/t/retrieve-units-from-links/97848 "2024-02-07T08:10:07Z")

</div>

Hi all I’m trying to retrieve the units in use in the linked documents. I will like to use a federated RVT model with several links (up to 20 in some cases) to do some basic fast check before the submissions to the clie…

---

## [Easy to do it manually, but can it be done proramatically?](https://forum.dynamobim.com/t/easy-to-do-it-manually-but-can-it-be-done-proramatically/69799)

<div class="topic-metadata">

**Author:** [@Cesar\_Tolentino](https://forum.dynamobim.com/u/Cesar_Tolentino)\
**Replies:** 9\
**Last updated:** [November 2, 2021, 1:19am UTC](https://forum.dynamobim.com/t/easy-to-do-it-manually-but-can-it-be-done-proramatically/69799 "2021-11-02T01:19:34Z")

</div>

I need to do this ask… Just a little help on how to do it in dynamo? or code block?

---

## [Python script in Dynamo Graphs not working properly in Revit 2022 (Project Units)](https://forum.dynamobim.com/t/python-script-in-dynamo-graphs-not-working-properly-in-revit-2022-project-units/65297)

<div class="topic-metadata">

**Author:** [@Antony.Roy](https://forum.dynamobim.com/u/Antony.Roy)\
**Replies:** 8\
**Last updated:** [August 26, 2021, 12:47pm UTC](https://forum.dynamobim.com/t/python-script-in-dynamo-graphs-not-working-properly-in-revit-2022-project-units/65297 "2021-08-26T12:47:32Z")

</div>

Hi, I created a Dynamo graph that modify the project units (imperial or metric) and it doesn’t work anymore with Revit 2022. I saw that there was some modification to the API related to units in Revit 2022. I’m not prog…

---

## [Package "Civil3D.CustomNodes " to change Civil 3D drawing parameters](https://forum.dynamobim.com/t/package-civil3d-customnodes-to-change-civil-3d-drawing-parameters/56926)

<div class="topic-metadata">

**Author:** [@georg.grebenyuk](https://forum.dynamobim.com/u/georg.grebenyuk)\
**Replies:** 0\
**Last updated:** [November 4, 2020, 6:57pm UTC](https://forum.dynamobim.com/t/package-civil3d-customnodes-to-change-civil-3d-drawing-parameters/56926 "2020-11-04T18:57:16Z")

</div>

Hi, everyone Recently I created small node to change drawing parameters of Civil 3D for myself and wanted sharing it with everybody. That Package called “Civil3D.CustomNodes” At present time package include nodes: F…

---

## [Problems with units when exporting from Dynamo to Robot](https://forum.dynamobim.com/t/problems-with-units-when-exporting-from-dynamo-to-robot/49199)

<div class="topic-metadata">

**Author:** [@571488](https://forum.dynamobim.com/u/571488)\
**Replies:** 4\
**Last updated:** [May 1, 2020, 12:16pm UTC](https://forum.dynamobim.com/t/problems-with-units-when-exporting-from-dynamo-to-robot/49199 "2020-05-01T12:16:01Z")

</div>

Hello, I have a problem when exporting the geometry from Dynamo to Robot using the Analyze package. My units in Dynamo is in millimeters, and the export to Revit Works perfeclty fine: As you can see, the units are …

---

## [Revit unit type to display units](https://forum.dynamobim.com/t/revit-unit-type-to-display-units/34257)

<div class="topic-metadata">

**Author:** [@mohamed.m.matook](https://forum.dynamobim.com/u/mohamed.m.matook)\
**Replies:** 4\
**Last updated:** [March 11, 2020, 10:32am UTC](https://forum.dynamobim.com/t/revit-unit-type-to-display-units/34257 "2020-03-11T10:32:23Z")

</div>

Hello there, I am trying to obtain the units used in Revit project automatically and save it in an excel file. I am using a python code to retrieve the desired unit type but they are displayed as RevitAPI unit type. Is…

---

## [Very Strange Temperature Conversion](https://forum.dynamobim.com/t/very-strange-temperature-conversion/32986)

<div class="topic-metadata">

**Author:** [@crapai](https://forum.dynamobim.com/u/crapai)\
**Replies:** 9\
**Last updated:** [March 5, 2019, 9:53pm UTC](https://forum.dynamobim.com/t/very-strange-temperature-conversion/32986 "2019-03-05T21:53:24Z")

</div>

I’m trying to put F into a family parameter but when I put 180 in it came up with a huge number. I tried messing around and eventually got this code to work. Does anyone know why this is happening? I was expecting to ne…

---

## [Unit Conversion Issue](https://forum.dynamobim.com/t/unit-conversion-issue/32879)

<div class="topic-metadata">

**Author:** [@jmmiller](https://forum.dynamobim.com/u/jmmiller)\
**Replies:** 1\
**Last updated:** [March 4, 2019, 2:37am UTC](https://forum.dynamobim.com/t/unit-conversion-issue/32879 "2019-03-04T02:37:27Z")

</div>

I am trying to use Python to do some unit conversions of parameter values being derived from MEP Fabrication Pipe elements. I am using the same Python code to obtain unit conversions of two different built-in parameter n…

---

## [Access Units in Code Blocks](https://forum.dynamobim.com/t/access-units-in-code-blocks/23959)

<div class="topic-metadata">

**Author:** [@m.owens](https://forum.dynamobim.com/u/m.owens)\
**Replies:** 6\
**Last updated:** [July 20, 2018, 10:49am UTC](https://forum.dynamobim.com/t/access-units-in-code-blocks/23959 "2018-07-20T10:49:53Z")

</div>

I am trying to access units in the code block. Can’t seem to find them. Is this possible? Thank you in advance! Matt

---

## [Dynamo python units](https://forum.dynamobim.com/t/dynamo-python-units/22628)

<div class="topic-metadata">

**Author:** [@b.fedonin](https://forum.dynamobim.com/u/b.fedonin)\
**Replies:** 5\
**Last updated:** [June 8, 2018, 1:39pm UTC](https://forum.dynamobim.com/t/dynamo-python-units/22628 "2018-06-08T13:39:30Z")

</div>

Hello ! I’ve always created family instances with the nodes, but now i need to do it with Python. As a point to create instance i define Point = XYZ(0,50,0). I thought it would be 50 millimeters, but turns out - it f…

---

## [Different returned unit type between computers](https://forum.dynamobim.com/t/different-returned-unit-type-between-computers/21918)

<div class="topic-metadata">

**Author:** [@wouter.vandebergh](https://forum.dynamobim.com/u/wouter.vandebergh)\
**Replies:** 3\
**Last updated:** [May 15, 2018, 7:26am UTC](https://forum.dynamobim.com/t/different-returned-unit-type-between-computers/21918 "2018-05-15T07:26:59Z")

</div>

I noticed odd behaviour with a script that uses the Duct Height/Diameter to calculate the offset from a floor. On my computer, the values retrieved are in feet and I convert them using the specific node. However, on my …

---

## [Issue with unit conversion and set parameter](https://forum.dynamobim.com/t/issue-with-unit-conversion-and-set-parameter/20304)

<div class="topic-metadata">

**Author:** [@AMX](https://forum.dynamobim.com/u/AMX)\
**Replies:** 6\
**Last updated:** [March 22, 2018, 7:45am UTC](https://forum.dynamobim.com/t/issue-with-unit-conversion-and-set-parameter/20304 "2018-03-22T07:45:34Z")

</div>

Hi All, Trying to change the Diameter of the pipes using Element.SetParameterByName Tried unit conversion, still I’m getting error. Can someone help me to figure out what the the problem is…? \[Error%2001\] Thanks in ad…

---

## [How to Get Unit Symbol of a Unit Type](https://forum.dynamobim.com/t/how-to-get-unit-symbol-of-a-unit-type/18559)

<div class="topic-metadata">

**Author:** [@imaliasad](https://forum.dynamobim.com/u/imaliasad)\
**Replies:** 3\
**Last updated:** [January 29, 2018, 1:03am UTC](https://forum.dynamobim.com/t/how-to-get-unit-symbol-of-a-unit-type/18559 "2018-01-29T01:03:42Z")

</div>

I’m trying to get the Unit symbol for a unit type of a parameter. I wrote the following script: import clr # Import DocumentManager clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence i…

---

## [Dynamo vs Revit Free form import units](https://forum.dynamobim.com/t/dynamo-vs-revit-free-form-import-units/17732)

<div class="topic-metadata">

**Author:** [@iAndriy](https://forum.dynamobim.com/u/iAndriy)\
**Replies:** 5\
**Last updated:** [December 28, 2017, 11:58am UTC](https://forum.dynamobim.com/t/dynamo-vs-revit-free-form-import-units/17732 "2017-12-28T11:58:58Z")

</div>

Hello everybody. I’ve just created a dynamo algorithm to create a solid which results from a loft of multiple sections (sections that are defined by diferent equations). I’m using the node from spring nodes “FamilyType.…

---

## [Family parameters unit in Dynamo](https://forum.dynamobim.com/t/family-parameters-unit-in-dynamo/16576)

<div class="topic-metadata">

**Author:** [@HMoosavi](https://forum.dynamobim.com/u/HMoosavi)\
**Replies:** 2\
**Last updated:** [November 17, 2017, 8:48am UTC](https://forum.dynamobim.com/t/family-parameters-unit-in-dynamo/16576 "2017-11-17T08:48:47Z")

</div>

Here is a weird situation. Dynamo claims to be without units and that they read numbers from Revit as they are. I have a simple family for which I have added some parameters. When defining a parameter for a family you …

---

## [Custom Rebar Mark](https://forum.dynamobim.com/t/custom-rebar-mark/16131)

<div class="topic-metadata">

**Author:** [@jamess166](https://forum.dynamobim.com/u/jamess166)\
**Replies:** 4\
**Last updated:** [November 2, 2017, 4:34pm UTC](https://forum.dynamobim.com/t/custom-rebar-mark/16131 "2017-11-02T16:34:43Z")

</div>

Hi guys, I am trying to make a rebar mark taking into account 3 values: Diameter Code Form Code Length of Rebar (in centimeters). However, I have not achieved it for two reasons: The length of the Rebar does not ma…
