WD - Get a VariableList Value from Variable Node

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

WD - Get a VariableList Value from Variable Node

Postby a.borelli » Sat Apr 23, 2022 6:24 pm

Hi everyone!

I was wondering if is possible to get a specific Variable List value from the Variable Input node.
I tried writing in it something like vList[x] but it didnt work, the node always gives me 0 as a result.

It doesnt work in Labels as well, by using the "Variable Source" tick.

Is there a way to do this?

Thanks everyone!
User avatar
a.borelli
 
Posts: 11
Joined: Thu Mar 15, 2012 11:28 am
Location: Italy

Re: WD - Get a VariableList Value from Variable Node

Postby Mike Mengen » Thu Apr 28, 2022 10:14 am

Hi,

the Variable Input Node will always give you the first object of a List Variable.
With the Nodesystem it is not possible to define which object you want to use.
It is only possible with Scripting.

If you need further help with that, please contact us at support.pandorasbox@christiedigital.com

Regards,
Mike
Mike Mengen
 
Posts: 32
Joined: Thu Aug 13, 2015 1:50 pm

Re: WD - Get a VariableList Value from Variable Node

Postby a.borelli » Fri Apr 29, 2022 7:08 pm

Thank you Mike,
I'll switch to non-list variables where I need to use Variable Nodes.

Anyway a special "Variable List Node Input" would be a great addition, in future!

Have great time and thanks again,
Andrea
User avatar
a.borelli
 
Posts: 11
Joined: Thu Mar 15, 2012 11:28 am
Location: Italy


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 0 guests