Binary archive writer


Simple question again. Could you please give me a hint of how to use binary archive writer, i.e. on base of this example:

What would be the

GelthSerialization gelth = new GelthSerialization();
gelth.X = 1;
gelth.Y = 2;
gelth.Z = 3;


Hi Karol,

Are you trying to write data to a 3DM file from a plug-in? Where is the data stored? Is it on an object?

More information would be appreciated.

sorry for curt infrmation. I use userStrings to store info on objects, but I need to keep informations, that are not connected directly with any object. It would be “property” that is used by many objects, i.e. thickness. Plate objects uses user strings, to store information, that are using this additional property.

You might look into user data.

Yes, I was trying this, but I will still need to save data to 3dm, and right now I can’t, I don’t know how to.

The sample shows how to do this…

Yes it does, I should have check that more carefull, thanks :smile:

looks like this link is broken :frowning:

that is now moved to here

we have to create a sort of ‘soft links’ to resources to avoid breakage, perhaps :stuck_out_tongue: