Hi Cristobal,

yeah is it a 1D array.

I am pretty bad with this stuff. I have yet to try your first suggestion. I
take it does not work hence your second message.
I might have another go in the morning when I am more awake. ha



Daniel Sweeney
3D Creative Director

*Mobile:* +44 (0)7743429771
*Email:* [email protected]
*Web:* http://northforge.co.uk

On Thu, Dec 4, 2014 at 4:16 PM, Cristobal Infante <[email protected]> wrote:

> the problem is that the combo returns a tuple. That is a sort of list that
> contains a value and label together.
>
> You need to find a way of converting this into a python array or list, so
> that you can then use it.
>
> On 4 December 2014 at 14:28, Daniel Sweeney <[email protected]>
> wrote:
>
>> Hi Simon,
>>
>> Yeah tried a few things like that. Didn't seem to work.
>>
>> With a text box in the PPG it pulls it in fine. So maybe one work around
>> would be to populate a text box from the combo box and pull that in.
>>
>> Cheers
>>
>>
>>
>> Daniel Sweeney
>> 3D Creative Director
>>
>> *Mobile:* +44 (0)7743429771
>> *Email:* [email protected]
>> *Web:* http://northforge.co.uk
>>
>> On Thu, Dec 4, 2014 at 1:32 PM, Simon Reeves <[email protected]>
>> wrote:
>>
>>> you might just need to stick value on the end.. I'm not 100% though
>>>
>>>  [Value ComboTest.list.Value]
>>>
>>>
>>>
>>> Simon Reeves
>>> London, UK
>>> *[email protected] <[email protected]>*
>>> *www.simonreeves.com <http://www.simonreeves.com>*
>>> *www.analogstudio.co.uk <http://www.analogstudio.co.uk>*
>>>
>>> On 4 December 2014 at 12:52, Daniel Sweeney <[email protected]>
>>> wrote:
>>>
>>>> Hi List,
>>>>
>>>> First off I am no way a scripter. been trying to get this to work but
>>>> cannot.
>>>>
>>>> So I have some code to make a PPG with a combo box from stephen blair.
>>>>
>>>> http://xsisupport.com/2011/01/10/updating-a-combo-box-from-an-onclicked-callback/
>>>>
>>>> now all I want to do is pull the Lable of the combo box into the render
>>>> path via
>>>> [Value] token
>>>>
>>>> when I pull in the combo box with [Value ComboTest.list] all it pulls
>>>> in is the array value.
>>>>
>>>> is there anyone that can help with this?
>>>>
>>>> Cheers.
>>>>
>>>> Daniel
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to