Hi Moosers. I am doing little experiments to export/serialize big graph of objects using ImageSegment. I though that MooseModel was a good candidate. And I even remember Simon's wishes for copying them. But I have a couple of questions:
1) Which is the bigger autogenerated MooseModel I can get to test? For the moment I am evaluating "MooseModel installDefaultModels". and then I export "MooseModel root". Is there a bigger one I can use? how ?
2) How is the root or any other MooseModel normally exported? Which methods? which technology ? Can you give me an example of the standard way to export/serialize/copy a MooseModel ? The only thing I saw is MooseModel class >> export: aModel to: aStream
I just open a file and send it as Stream?
3) Suppose that I copy/export somehow a MooseModel (suppose the root) to a file. I take another Moose image, I load the file, objects are alive again and I replace MooseModel rootModel with the new object. How do I know if the copy/export worked correctly ? If I do it in the same image, I can have both, but how can I compare them to be sure everything was done ok ? method #= has no sense as it will use Object with is #==. So...any idea to know if the MooseModel I export and load again with ImageSegment is really working or not?
I want to test exporting and loading these MooseModel with different technologies but I need a way to know if the resulted object is correct or not.
Ahhh please, cc' me in the mail as I am not sure I receive emails from this list.
Thanks for any hints.
Mariano