# Grasshopper tree path with null item

**URL:** <https://discourse.mcneel.com/t/grasshopper-tree-path-with-null-item/91370>\
**Category:** Grasshopper\
**Created:** [November 2, 2019, 12:08am UTC](https://discourse.mcneel.com/t/grasshopper-tree-path-with-null-item/91370 "2019-11-02T00:08:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cshea](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cshea/32/690633_2.png) [@cshea](https://discourse.mcneel.com/u/cshea)\
**Post date:** [November 2, 2019, 12:08am UTC](https://discourse.mcneel.com/t/grasshopper-tree-path-with-null-item/91370/1 "2019-11-02T00:08:38Z")

</div>

Hi  
I lofted a series of curves to form surfaces - some of them were unsuccessful and the path in the tree data showed null.  
when I unrolled these surfaces, the tree data with the unrolled surfaces no longer had the paths with the null items.  
in the example, surface index 49 was an unsuccessful attempt and branch path 49 is missing.  
How can I reinsert a branch with nothing or null or an empty branch at branch path 49 so it forms a placeholder path?  
Thanks  
[rhinoforumnulllpathmissing.gh](https://discourse.mcneel.com/uploads/short-url/t5zWgmlPYMoRsQ9AclM6dHSS1Me.gh) (391.2 KB) ![treenullpathsmissing](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/c/7/c7880000ead1874552809ddb320c5007d3d65107.jpeg)

---

<div class="post-metadata">

**Author:** ![Jakinta](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jakinta/32/485854_2.png) [@Jakinta](https://discourse.mcneel.com/u/Jakinta)\
**Post date:** [November 2, 2019, 1:16am UTC](https://discourse.mcneel.com/t/grasshopper-tree-path-with-null-item/91370/2 "2019-11-02T01:16:33Z")

</div>

![Null](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/e/6/e61d2ab22233599ba814c9816c2e500e3f0c948b.png)

 ![Null%20](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/9/994a010ac11b95ea55db4139156f7fef2b684b1f.png)

---

<div class="post-metadata">

**Author:** ![RadovanG](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@RadovanG](https://discourse.mcneel.com/u/RadovanG)\
**Post date:** [November 2, 2019, 10:30am UTC](https://discourse.mcneel.com/t/grasshopper-tree-path-with-null-item/91370/3 "2019-11-02T10:30:35Z")

</div>

![42](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/8/9/89d807bec5391f19cade61be204ccc7601562274.png)

---

<div class="post-metadata">

**Author:** ![cshea](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cshea/32/690633_2.png) [@cshea](https://discourse.mcneel.com/u/cshea)\
**Post date:** [November 3, 2019, 12:48am UTC](https://discourse.mcneel.com/t/grasshopper-tree-path-with-null-item/91370/4 "2019-11-03T00:48:49Z")

</div>

thank you  
that works!!

---

<div class="post-metadata">

**Author:** ![cshea](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/cshea/32/690633_2.png) [@cshea](https://discourse.mcneel.com/u/cshea)\
**Post date:** [November 3, 2019, 12:49am UTC](https://discourse.mcneel.com/t/grasshopper-tree-path-with-null-item/91370/5 "2019-11-03T00:49:08Z")

</div>

thanks  
that works very well!!!
