I’ve searched the forums and haven’t found an answer that works…
I have a custom data type
Foowhich does stuff and has member variables.
I’ve created a
GH_Fooobject, which inherits
public override bool Write(GH_IWriter writer)and
public override bool Read(GH_IReader reader)to serialize it’s value
I have then created a
All of this works great and lets me pass
Foo around the canvas and through various components, and also make a
However, when copy / pasting across definitions, or when saving / loading, the internalized data is lost, and I’m left with an empty parameter. Something either isn’t serializing right, or I’m missing a trick when it comes to internalizing the data in the parameter.
Following the answer in this, all should be well if I’ve overridden the
Write functions in
GH_Foo, however it appears that all is not, in fact, well.
Am I missing something obvious or are there other functions that need to be overridden or other interfaces that need interfacing?