Hi all,
I've written a function in Python which returns array of string arrays (two dimensional).
It returns an array of filename, and two paths like this:
[['birch_mdl', 'C:/mdl/version/2\birch_mdl.ma', 'C:/mdl/version/2\birch_mdl.iff'],
['pine_mdl', 'C:/mdl/version/2\pine_mdl.ma', 'C://mdl/version/2\pine_mdl.iff']]
From MEL, I execute the function with python command like this:
$ar = python ("getStuff (\"" + $s + "\", \"" + $baseDir + "\")")
;
The thing is, $ar in MEL contains the output like above but as a string, so I split it with the tokenize function.
Anyway - do you know how to get the array from Python function into MEL and not a a string instead?
Thanks.