Page 1 of 1

Remoting4-Get DataItem value

Posted: 11 Jan 2018, 19:11
by takba
Hello all , I would like to use the following to get the value of an item:

Code: Select all

public Task<object> DataItem(IID iid, string dataItem, object asyncState);
but I can't seem to understand how to get the idd of my scene.
Read the manual and API but you've probably guessed it ,I have close to no idea what I'm doing :oops: .
Any help would be greatly appreciated thanks

Re: Remoting4-Get DataItem value

Posted: 12 Jan 2018, 15:55
by Karol
Hi,

please check out this demo code: http://forum.ventuz.com/viewtopic.php?f=14&t=3407

Cheers
Karol

Re: Remoting4-Get DataItem value

Posted: 17 Jan 2018, 16:50
by craig
The demos will help you with the basics, but the short answer is that you have to store the IIDs of the scenes as they are loaded when you activate your root scene. You can then pass in that IID along with the property name.

I hope that helps a little. :)

Craig