# Float or Integer Nodes

**URL:** <https://forum.dynamobim.com/t/float-or-integer-nodes/67457>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 23, 2021, 8:49pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457 "2021-08-23T20:49:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![frasermcculloch](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@frasermcculloch](https://forum.dynamobim.com/u/frasermcculloch)\
**Post date:** [August 23, 2021, 8:49pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457/1 "2021-08-23T20:49:16Z")

</div>

Hello  
I am trying to put my design into the generative design process however it wants either an integer or a float node as an output. I think I have tried every node but nothing seems to want to be an output. Any ideas??  
Thanks

 ![Dynamo Help 23-08-21](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/b/0b9f0ddaece4d7dea62c00e7299d654f8a8b66ac.jpeg)

---

<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:** [August 23, 2021, 8:52pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457/2 "2021-08-23T20:52:55Z")

</div>

Those are currently the only output types Generative Design can handle. Your output **must** be either a single integer or a single float. That is specifically for the _outputs_ though. Geometry will still show in the GD preview, but it is not an output.

---

<div class="post-metadata">

**Author:** ![frasermcculloch](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@frasermcculloch](https://forum.dynamobim.com/u/frasermcculloch)\
**Post date:** [August 23, 2021, 9:00pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457/3 "2021-08-23T21:00:42Z")

</div>

Do you have any examples of integer or float nodes? I seem to have tried every node but none want to become an output 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:** [August 23, 2021, 9:01pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457/4 "2021-08-23T21:01:31Z")

</div>

Integers and Floats are just numbers. Anything with a single number output should work.

What are you wanting to output though? You can’t just convert anything to a number so that you can make it an output.

---

<div class="post-metadata">

**Author:** ![frasermcculloch](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@frasermcculloch](https://forum.dynamobim.com/u/frasermcculloch)\
**Post date:** [August 23, 2021, 9:04pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457/6 "2021-08-23T21:04:50Z")

</div>

When I am trying to use generative design, it is asking that my output is a float or integer node. I want to input my design and the output to be multiple variations of that design.

Otherwise it won’t let me use the generative design process

---

<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:** [August 23, 2021, 9:09pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457/7 "2021-08-23T21:09:39Z")

</div>

Yes, but Generative Design requires outputs that can be analyzed (hence numbers). You can’t just make a box your output, because how is one box better than another? You would need to translate that information into something measurable, like area or volume, which could be mathematically compared and ranked.

Any geometry visible in your graph preview will still be visible in GD. So you can still show your different boxes for each option, but the geometry itself would not be an output.

---

<div class="post-metadata">

**Author:** ![frasermcculloch](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@frasermcculloch](https://forum.dynamobim.com/u/frasermcculloch)\
**Post date:** [August 23, 2021, 9:13pm UTC](https://forum.dynamobim.com/t/float-or-integer-nodes/67457/8 "2021-08-23T21:13:12Z")

</div>

Ah I see what you mean now. Apologies. Okay I think I know where I am going wrong.

Thanks for that 👍
