Is the file parameter in expression mode? ie. is the ‘blue box’ turned on and the field dark with blue text? If not it will just be in regular mode and will not evaluate the string entered as a python expression.
I’m struggling with this, too. I have a null containing my filepath, which is in column 0 and row 0, and when I use op(‘nameofnull’)[0,‘path’] I get the same file nout found error. I’m sure it’s user error here - is there something obvious I am doing wrong?
@jham2000
if you use op('nameOfDAT')[0,'path'] this result in looking in row 0, in a column which is named ‘path’.
But a column name must be in row 0, so I assume you need to use op('nameOfDAT')[1,'path']
If you want to read from row 0, column zero, use op('nameOfDAT')[0,0]
See further documentation how to read from a DAT: tableDAT Class - Derivative
See example attached, you can drag this tox file into you TouchDesigner network read_from_DAT.tox (446 Bytes)