Hi guys,
Quick question, I'm 1 step away from completing this script I'm writing but I've hit a roadblock (I watch too much amazing race).
To put it simply, I want to link data (from the CurveTool) into a text node's translate through Python, just like linking with TCL seems to do.
Any ideas? I can get the data fine, and I can put it in there, but not the curve, never done this before in Python. Obviously need it to update if changed and stuff like that, just like if linked manually.
I hope that is clear enough.
I tried doing something along the lines of:
trans = [parent.CurveTool2.autocropdata.x, parent.CurveTool2.autocropdata.y]
text.knob('translate').setValue(trans)
With 'trans' being the usual TCL expressions I'd normally add in x and y, but doing this in Python gives me an error.
Thanks!
Mick.







