You can either modify the .ma in a text-editor, as it is text, or through
Python via something like regular expressions. Each reference will be
clearly prefixed by it's unique command in the header of the file, along
with its absolute path.

On 31 October 2014 08:15, Fredrik Averpil <fredrik.aver...@gmail.com> wrote:

> One stable way I've gone about it in the past is to update the .ma file.
>>
> How do you mean, exactly?
> Do you mean launching a separate process such as maya -batch -command
> "[mel code]" -file hello.ma or do you mean reading in the .ma contents
> and modifying it with Python?
> ​
>
> --
> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWP4t8znzmfXR9c-c2O-%3DmqreigKuKsbW%3DHG8K3%3DH8xcPQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWP4t8znzmfXR9c-c2O-%3DmqreigKuKsbW%3DHG8K3%3DH8xcPQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
konstrukt...@gmail.com

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOChbuv2ti4%3DPHD35xnUG%3DXgon7WUjybGV%3D9rjOg6a%2BRvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to