generative 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: disabled, ignore, persistent, solver, volatile

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
© 2012 Created by Scott Davidson.
Powered by