I don't understand. Do you mean launch Maya from the command line, with a 
lot of data as arguments to the call?
Command line calls are limited to 32k characters, I think, but you're still 
writing and reading all your matrix data as text, so I wouldn't expect it 
to be any faster.
Reading the data from a file using Python would be the best way to do it, I 
expect. If you're using the same data a lot of times you could read it once 
from a text file, then Pickle it into a binary file (or save it into a Maya 
binary), which would be a lot faster to read.

On Monday, 15 October 2018 21:23:11 UTC+11, Rémi Deletrain wrote:
>
> Hi everybody,
>
> Is it possible to give to Maya complex command arguments like a 
> MMatrixArray?
> I am looking to make the equivalent of a bake in maya but without having 
> the source. I only have matrix data in a file.
> I have a solution that works in python but it is slow given the number of 
> iteration.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9828b72f-f4d3-4aca-a74e-12104e31609b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to