Page 1 of 1

Get or set scene or project data value's with a C# node

Posted: 30 Jul 2017, 20:24
by Total-Image
How can I get or set project data value's or scene data value's with a piece of code inside a C# node?

Kind regards

Rogier

Re: Get or set scene or project data value's with a C# node

Posted: 31 Jul 2017, 15:02
by Total-Image
Maybe it was better to explain what I'm trying to realize.
I want (during runtime of the project) to store the complete set of scene or project data value's (the DataModel as in Remoting) at once to a external file. I know I can bind a certain scene data value to the input or output of a C# node and then write the code to save it, but to do this for all Data items it's a pretty large amount of value's.

Re: Get or set scene or project data value's with a C# node

Posted: 01 Aug 2017, 12:04
by Eric_RD
Hi,
you are nearly there: the easiest way is to use remoting:
http://www.ventuz.com/support/help/late ... ml?itm=298
just query the ProjectData or Scenedata you need and Sve it as XML.
That way you are also flexible if the DataModel Changes.
Regards, Eric