FIXED: Python click method for ContainerComp *BROKEN*??

As per wiki, to click on u,v coordinates of a container comp should look like:

op('container1').click(0.4, 0.5) #Update  U and V

Texport returns:
SystemError: error return without exception set

Can anyone else confirm this error or provide the proper syntax?

hi,

i think there has to be something in the container at that uv location (that is clickable) for it to to work.

if you put a button comp inside the container, it works…

Actually it was broken, and is now fixed for the next update.
Note however, this function ignores its children, and will simply click on the container itself at the specified U,V location.
We’re looking into extending clicking to click an arbitrary child given U,V parameters.
You can in the meantime, use the clickChild() method, if you know the child index.

derivative.ca/wiki088/index. … ss#Methods

Cheers,
Rob.