# Number unit for DesignScript

**URL:** https://forum.dynamobim.com/t/number-unit-for-designscript/94764
**Category:** DesignScript
**Tags:** revit, geometry, dynamo
**Created:** [October 20, 2023, 3:30pm UTC](https://forum.dynamobim.com/t/number-unit-for-designscript/94764 "2023-10-20T15:30:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ning\_Zhou](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ning_zhou/32/68283_2.png) [@Ning\_Zhou](https://forum.dynamobim.com/u/Ning_Zhou)
#### Post date: [October 20, 2023, 3:30pm UTC](https://forum.dynamobim.com/t/number-unit-for-designscript/94764/1 "2023-10-20T15:30:15Z")

</div>

looks like unit is based on current Revit project setting, anyone knows how to specify it like below:  
Autodesk.Point.Add(Autodesk.BoundingBox.MaxPoint(bbs), Autodesk.Vector.ByCoordinates(3000mm,3000mm,3000mm));

edit: fixed by adding PythonScript node to convert  
[Convert to project units - Dynamo (dynamobim.com)](https://forum.dynamobim.com/t/convert-to-project-units/68896/8)

---

<div class="post-metadata">

### Author: ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)
#### Post date: [October 20, 2023, 4:51pm UTC](https://forum.dynamobim.com/t/number-unit-for-designscript/94764/2 "2023-10-20T16:51:36Z")

</div>

Dynamo geometry is unitless; you are reading in stuff from the project into the unitless geometry of Dynamo. So to use a specific unit type you first need to get the project’s unit type, and then convert from your given units to the project units.

There are nodes to help do some of this for you in modern builds (2.12? 2.13? I forget which):

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