Remoting4-Get DataItem value

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
takba
Posts: 1
Joined: 11 Jan 2018, 18:47

Remoting4-Get DataItem value

Post by takba » 11 Jan 2018, 19:11

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

User avatar
Karol
Posts: 504
Joined: 10 Jan 2012, 12:07

Re: Remoting4-Get DataItem value

Post by Karol » 12 Jan 2018, 15:55

Hi,

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

Cheers
Karol

User avatar
craig
Posts: 33
Joined: 18 Jan 2012, 11:42
Location: Wales, UK
Contact:

Re: Remoting4-Get DataItem value

Post by craig » 17 Jan 2018, 16:50

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
Craig Hann
Kinetic Pixel

http://www.kineticpixel.tv

Post Reply