algorithmic modeling for Rhino
Hi David,
which one is the best way to get the persistent content from an input parameter (let's say the string code input from GhPython)?
By this, I mean being able to
..and always get what is really there.
Thanks,
- Giulio
_______________
giulio@mcneel.com
McNeel Europe
Tags:
Hi Giulio,
you need to cast the parameter to Grasshopper.Kernel.Parameters.Param_String. Then you'll find a readonly property called PersistentData which returns a List<GH_String>.
Persistent data is stored in Lists, not GH_Structures.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Mh ok, it sounds reasonable. Thanks.
- Giulio
_______________
giulio@mcneel.com
McNeel Europe
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