# Setting parameters in Revit error

**URL:** <https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [June 5, 2023, 6:31pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404 "2023-06-05T18:31:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavin.hazlett](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@gavin.hazlett](https://forum.dynamobim.com/u/gavin.hazlett)\
**Post date:** [June 5, 2023, 6:31pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404/1 "2023-06-05T18:31:58Z")

</div>

the set parameter block is telling me I need to input an integer for the parameter type. The math floor block should be supplying an integer, but it is still giving me an error.

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

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [June 5, 2023, 6:49pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404/2 "2023-06-05T18:49:50Z")

</div>

Can you show the actual inputs via the node preview bubbles?

---

<div class="post-metadata">

**Author:** ![gavin.hazlett](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@gavin.hazlett](https://forum.dynamobim.com/u/gavin.hazlett)\
**Post date:** [June 5, 2023, 7:00pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404/3 "2023-06-05T19:00:22Z")

</div>

![tgrsg](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/5/057abebe90b1b70f3080267a0d0d4cffcf67a88b.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [June 5, 2023, 7:14pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404/4 "2023-06-05T19:14:44Z")

</div>

Can you show the exact warning messages (for both nodes) as well? Would also be helpful to use an `Object.Type` node to confirm you’re providing integers.

---

<div class="post-metadata">

**Author:** ![gavin.hazlett](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@gavin.hazlett](https://forum.dynamobim.com/u/gavin.hazlett)\
**Post date:** [June 5, 2023, 7:19pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404/5 "2023-06-05T19:19:20Z")

</div>

![Screenshot 2023-06-05 151833](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/c/cc1720631712a1f8f7e0495ebcad4f1c17568360.png)  
The error is the same for both nodes. I also threw in an object node

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [June 5, 2023, 7:24pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404/6 "2023-06-05T19:24:43Z")

</div>

It might be something else that’s causing an issue and it just happens to be returning this error. It would be more helpful if we could actually see all of the data you’re providing.

---

<div class="post-metadata">

**Author:** ![gavin.hazlett](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@gavin.hazlett](https://forum.dynamobim.com/u/gavin.hazlett)\
**Post date:** [June 5, 2023, 7:30pm UTC](https://forum.dynamobim.com/t/setting-parameters-in-revit-error/90404/7 "2023-06-05T19:30:22Z")

</div>

The data is inputted through a GUI as a string and into a list here is the list with the data

 ![555](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/2/72f3e9400e960a25d48817d677e30a4e7b8d71de.png)  
 ![8888](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/4/248d73a6a8e0b89d762a836ba2fa1590289b6cb5.png)
