algorithmic modeling for Rhino
Should be possible because Param_GenericObject implements IGH_PersistentParam. As long as the data you're adding properly (de)serializes it should be fine.
The parameter has SetPersistentData methods allowing you to assign that stuff and you get direct access to the PersistentData property as well.
An alternative approach (which might not make sense in your specific case) is to make the parameter Optional, and then insert your default value inside SolveInstance.
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