how to add "null" to a list of 3dpoint? - Grasshopper2024-03-29T04:48:06Zhttps://www.grasshopper3d.com/forum/topics/how-to-add-null-to-a-list-of-3dpoint?commentId=2985220%3AComment%3A1794729&feed=yes&xn_auth=nothanks very much .tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17947012017-08-06T23:41:18.224Zchuhttps://www.grasshopper3d.com/profile/chu234
<p>thanks very much .</p>
<p>thanks very much .</p> You cannot assign nulls to co…tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17949202017-08-06T15:30:33.516ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>You cannot assign nulls to collections containing value types. Value types by their definition are never null. You can assign Point3d.Unset, which is an invalid point.</p>
<p></p>
<p>If you want to output nulls, you'll have to make a List(Of GH_Point). Assign Point3ds to the ones that exist and leave the rest null.</p>
<p>You cannot assign nulls to collections containing value types. Value types by their definition are never null. You can assign Point3d.Unset, which is an invalid point.</p>
<p></p>
<p>If you want to output nulls, you'll have to make a List(Of GH_Point). Assign Point3ds to the ones that exist and leave the rest null.</p> You didn't post this in the C…tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17947532017-08-06T15:29:08.791ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>You didn't post this in the C#/VB forum, which is why you're getting regular solutions. I'll move the discussion.</p>
<p>You didn't post this in the C#/VB forum, which is why you're getting regular solutions. I'll move the discussion.</p> thanks.tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17947462017-08-06T14:55:42.242Zchuhttps://www.grasshopper3d.com/profile/chu234
<p>thanks.</p>
<p>thanks.</p> I am sorry, i did not realize…tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17946042017-08-06T14:54:48.450Zng5 Alexhttps://www.grasshopper3d.com/profile/ng5
<p>I am sorry, i did not realize the vb part. (no flags despite the add(nothing method).</p>
<p></p>
<p>I guess maybe you have seen <a href="http://www.grasshopper3d.com/forum/topics/adding-a-null-element-to-a-list" target="_blank">this</a>. Maybe it could help you.</p>
<p>I am sorry, i did not realize the vb part. (no flags despite the add(nothing method).</p>
<p></p>
<p>I guess maybe you have seen <a href="http://www.grasshopper3d.com/forum/topics/adding-a-null-element-to-a-list" target="_blank">this</a>. Maybe it could help you.</p> thanks very much ,but I need…tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17946032017-08-06T14:50:47.934Zchuhttps://www.grasshopper3d.com/profile/chu234
<p>thanks very much ,but I need to insert "null" in my vb script component. </p>
<p>thanks very much ,but I need to insert "null" in my vb script component. </p> in the description you can se…tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17945972017-08-06T14:42:10.482Zng5 Alexhttps://www.grasshopper3d.com/profile/ng5
<p>in the description you can see that it will insert a null to the index you specify, if no value to insert is given.</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769310471?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769310471?profile=RESIZE_1024x1024" class="align-full" width="721"/></a></p>
<p>in the description you can see that it will insert a null to the index you specify, if no value to insert is given.</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769310471?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769310471?profile=RESIZE_1024x1024" class="align-full" width="721"/></a></p> for examples? I am newbie.tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17947402017-08-06T14:39:09.696Zchuhttps://www.grasshopper3d.com/profile/chu234
<p>for examples? I am newbie.</p>
<p>for examples? I am newbie.</p> Hello,
you can try Insert it…tag:www.grasshopper3d.com,2017-08-06:2985220:Comment:17947292017-08-06T13:54:34.631Zng5 Alexhttps://www.grasshopper3d.com/profile/ng5
<p>Hello,</p>
<p></p>
<p>you can try Insert items component.</p>
<p></p>
<p>best</p>
<p>alex</p>
<p>Hello,</p>
<p></p>
<p>you can try Insert items component.</p>
<p></p>
<p>best</p>
<p>alex</p>