# Custom Node spits out null for input and outputs

**URL:** <https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [July 29, 2020, 2:56pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524 "2020-07-29T14:56:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryans](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@ryans](https://forum.dynamobim.com/u/ryans)\
**Post date:** [July 29, 2020, 2:56pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/1 "2020-07-29T14:56:11Z")

</div>

I have a graph that works until I put it into the custom node.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/c/8c7e2c6f0353dfe24aa5d3b33ddda50543c63473.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/3/9349c5370f0ea2afff988f2638355dc84a32e510.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/5/b507b6549580638ec755857a5c2b670d4107b4ca.png)

---

<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:** [July 30, 2020, 11:21am UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/2 "2020-07-30T11:21:25Z")

</div>

Best to share the data set, graph and the node - the number of potential failure points is quite large here.

---

<div class="post-metadata">

**Author:** ![ryans](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@ryans](https://forum.dynamobim.com/u/ryans)\
**Post date:** [July 30, 2020, 2:51pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/3 "2020-07-30T14:51:00Z")

</div>

Here is a snap of the input data sets

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/a/4a35b423727147c3aa7a2f4403145e0f8a80223c.png)  
What else would you need?

the graph of the custom node is on the previous post.

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:** [July 31, 2020, 9:33am UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/4 "2020-07-31T09:33:46Z")

</div>

- The dyf
- A dyn which uses it
- An rvt to use it
- Anything else referenced by the dyn or dyf

Actual code, not images as the time to build from scratch is pretty extreme.

One thing to check is if your python is build to handle a list or a singleton for each input - with custom nodes that’s often an issue.

---

<div class="post-metadata">

**Author:** ![ryans](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@ryans](https://forum.dynamobim.com/u/ryans)\
**Post date:** [July 31, 2020, 2:12pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/5 "2020-07-31T14:12:41Z")

</div>

Here is the file.

[Fixture unitsCNb.dyn](https://forum.dynamobim.com/uploads/short-url/8qEqmWF3btHNAJ5ykYz17zT0Zpf.dyn) (93.9 KB)

I am not sure how to check for this. “One thing to check is if your python is build to handle a list or a singleton for each input - with custom nodes that’s often an issue.”

---

<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:** [July 31, 2020, 3:19pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/6 "2020-07-31T15:19:29Z")

</div>

I need the RVT and custom node as well otherwise I’ve got not data set and no node. 🙂

---

<div class="post-metadata">

**Author:** ![ryans](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@ryans](https://forum.dynamobim.com/u/ryans)\
**Post date:** [July 31, 2020, 3:32pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/7 "2020-07-31T15:32:37Z")

</div>

oh sorry!  
[TestFU1.dyf](https://forum.dynamobim.com/uploads/short-url/oNiOR6JhHlNlXPUm7V3Cp8tPdto.dyf) (88.2 KB)

> **[rvtsendingt.rvt](https://drive.google.com/file/d/1TAotgJakBogo-HtQ-kfYbssJ_Ew7WipI/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![ryans](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@ryans](https://forum.dynamobim.com/u/ryans)\
**Post date:** [August 7, 2020, 5:40pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/8 "2020-08-07T17:40:04Z")

</div>

are you still workingon this issue?

---

<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:** [August 14, 2020, 3:48pm UTC](https://forum.dynamobim.com/t/custom-node-spits-out-null-for-input-and-outputs/53524/9 "2020-08-14T15:48:37Z")

</div>

Sorry for the delay - the graph logic took quite a while to unravel which delayed stuff by a bit, and I had a deadline come up on me.

The issue with the custom node is that you’re expecting it to process a list (or lists of lists), but haven’t told the node it needs to do so. Change your inputs to include a `[]..[]` at the tail end and you’ll get results.

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