Persistent Data in Grasshopper2?

Hi again,

I’m well on the way to having Pachyderm for Grasshopper2 working. The plugin loads and runs. Now I want to get all of the old helper info working.

In the old plugin for Grasshopper 1, we used to use param.SetPersistentData to set defaults. What is the equivalent in Grasshopper 2?

Arthur

Just append .Set(..); after you add your input. That method assigns the data and returns the parameter it is called on, so you can easily chain it.

inputs.AddCircle("First Circle", "Ca", "First tangent circle.").Set(new Circle(new Point3d(0, 0, 0), 1));
1 Like

(post deleted by author)

Hi,

Are you asking about Pachyderm? Have you tried the 2.6.0.26 version from the rhino 8 package manager?

Arthur