UberTracer: Trying to access an input dynamically

On 24/07/2013 at 17:17, xxxxxxxx wrote:

I am trying to set  Trace Link A in the UberTracer plugin in a python script.

The python console tells me that the Element ID for the  Trace Link A  input is 
_
_
_   UberTracer[c4d.UBERTRACER_ELEMENTS1]. _
_
_
I then am  trying to access the Trace Link A field like this
_
_
_    uberTracer = doc.SearchObject("UberTracer")   #returns a valid object_
_    lst = tracer[c4d.UBERTRACER_ELEMENTS1]_
_    print type(lst)_
_
_
which prints

< type 'NoneType'>

Analogous code works for the regular Tracer object.

What am I doing wrong?
_
_
Thanks.

--8

On 16/08/2013 at 16:24, xxxxxxxx wrote:

Juste in case, your code shouldn't work because of the name of your variables (uberTracer and after tracer[blabla])

but anyway, i think this will return None until you put an element in the list.