# Data type of Output nodes is not supported

**URL:** <https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755>\
**Category:** Generative Design\
**Tags:** revit\
**Created:** [March 23, 2023, 9:13pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755 "2023-03-23T21:13:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DJ\_14](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DJ\_14](https://forum.dynamobim.com/u/DJ_14)\
**Post date:** [March 23, 2023, 9:13pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/1 "2023-03-23T21:13:06Z")

</div>

Hello, I downloaded the sample files linked in [this](https://dynamobim.org/space-planning-in-dynamo-with-dynaspace-using-generative-design-in-revit/) blog post, and I am having a few issues troubleshooting as I am relatively new to dynamo. Sample files are in the original blog post.

1. The watch node renamed ‘Space Adjacency Score (Low is Better)’ has the Node Issue _“The data type of the following Output nodes is not supported. Use only Output nodes of type float or integer. Note that lists and null values are not supported. Placing Output nodes downstream of Gate nodes is not supported”_. The watch node appears to output the result of a sum, so I am confused how the output is not an integer.

2. Upon closer inspection of the blog post, it seems like the nodes are connected differently in the screenshots of the graph. Do I need to use the exact same version of the DynaShape package that the author used?

Thanks

---

<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:** [March 23, 2023, 9:36pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/2 "2023-03-23T21:36:29Z")

</div>

Can you post a few screenshots showing the following:

1. The current value of the nodes which are set as outputs but are providing incorrect results.
2. The discrepancy between the version on the blog post and what you’re using?

---

<div class="post-metadata">

**Author:** ![DJ\_14](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DJ\_14](https://forum.dynamobim.com/u/DJ_14)\
**Post date:** [March 23, 2023, 9:46pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/3 "2023-03-23T21:46:19Z")

</div>

![original post](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/7/873cdb19ee37d65756c7345b250dcc0651f21f13.png)  
 ![error message](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/c/bcca4ab15010085bd8c227a85f0942f352d0f76e.png)  
 ![package versions](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/b/8bb1d70ef3437800bc970e2618dc26b9f47062b1.png)

The blog post seems to have wires between different ports, but I have not edited anything in the sample file yet.

---

<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:** [March 24, 2023, 12:10am UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/4 "2023-03-24T00:10:09Z")

</div>

Looks like you have a somewhere along the line. As a result the value in the evaluation is coming back as `null`, which isn’t a valid value in the context of generative design.

Post a preview showing the results, message, and input data for the first node in the chain returning a warning and we might find the issue fairly quickly.

---

<div class="post-metadata">

**Author:** ![DJ\_14](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DJ\_14](https://forum.dynamobim.com/u/DJ_14)\
**Post date:** [March 24, 2023, 2:08pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/5 "2023-03-24T14:08:11Z")

</div>

Engine.Execute is the first node in that chain with an error message. Here is the error and some screenshots of the nodes upstream.

 ![error message dynashape](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/5/85a9799e846b338536a38481a1a26095abb69113.png)  
 ![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/e/de4795e08a33ea8d045056b2beac010b8aa1ef1f.png)  
 ![2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/3/53181f82eeb4956e3eeb2be3d34e19078e624a12.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:** [March 24, 2023, 2:13pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/6 "2023-03-24T14:13:10Z")

</div>

Obviously you need to deal with providing valid data to the node, but you can also have a quick check for null outputs if there are valid cases that still result in nulls.

---

<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:** [March 24, 2023, 2:14pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/7 "2023-03-24T14:14:39Z")

</div>

Need to see the data previews expanded.

The error message is telling us it expects one type of input but got another. I can’t quite see it all, but I think it is saying you need to put your boyndaryVerticies into a deeper list (might be reading that wrong). Put a List.Create node on them and see if that works. If not undo that change, expand the previews and post the images again. Note that after you rearrange the nodes so all previews are visible you can zoom into one node so things are legible, and then use the export canvas as image feature (top right, or under file, export).

---

<div class="post-metadata">

**Author:** ![DJ\_14](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DJ\_14](https://forum.dynamobim.com/u/DJ_14)\
**Post date:** [March 24, 2023, 2:40pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/8 "2023-03-24T14:40:43Z")

</div>

![entiregraph](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/0/50ea602ffc464881912727d30a2f60d237ed76d7.png)

Here is the entire graph with the data previews, and a List.Create

---

<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:** [March 24, 2023, 3:05pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/9 "2023-03-24T15:05:36Z")

</div>

On the failing node…

1. You have silent mode settings into the ClearancePolygonVerticies input.
2. You have a boolean (true/false) into the SilentmodeSettings input.
3. You likely are missing boolean inputs for the other nodes, provide a “true” or “false” value for each.

Basically it apepars the order of inputs shifted and you’ll have to update the content acordingly.

---

<div class="post-metadata">

**Author:** ![DJ\_14](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DJ\_14](https://forum.dynamobim.com/u/DJ_14)\
**Post date:** [March 24, 2023, 3:14pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/10 "2023-03-24T15:14:22Z")

</div>

I’ll try to fix that to the best of my ability. Did the inputs get shifted because I’m using a different version of the DynaShape package? If so, would using the same version of the package as the original blog post and starting over from a fresh copy of the .dyn file be easier?

---

<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:** [March 24, 2023, 6:52pm UTC](https://forum.dynamobim.com/t/data-type-of-output-nodes-is-not-supported/87755/11 "2023-03-24T18:52:30Z")

</div>

Might help to use the same package version, but you shouldn’t need to restart the DYN. Just restarting Dynamo should do the trick.

The rewriting doesn’t look too difficult. If you’re planning on using this workflow then a firm understanding of the DynaShape package is advisable anyway.
