algorithmic modeling for Rhino
I have a list of 3dpoint, I want to Assign a "null" value to it , I use add(nothing) method,but the result become “0,0,0” ,How can i add "null" to a list of 3dpoint?
you can try Insert items component.
for examples? I am newbie.
thanks very much ,but I need to insert "null" in my vb script component.
You didn't post this in the C#/VB forum, which is why you're getting regular solutions. I'll move the discussion.
I am sorry, i did not realize the vb part. (no flags despite the add(nothing method).
I guess maybe you have seen this. Maybe it could help you.
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.
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.
thanks very much .