algorithmic modeling for Rhino
Hi Brian,
You can't. Numbers are structures so you can use Integer (System.Int32) as value but not as reference. This implies that there is no Nothing/null for it. You could instead use Object, and the value will be boxed into a reference, so there will be Nothing again.
If you were writing the code, then the solution would be to use Nullable(Of Integer). But this is not the case in the input of the function of the custom scripting component.
Thanks,
- Giulio
_______________
giulio@mcneel.com
Ok thanks Giulio
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by