Thanks!!!
it worked :)
On Sunday, May 28, 2017 at 1:42:26 PM UTC+5:30, Virbhadra Gupta wrote:
>
> how i can pass python variable in mel??
> in my example mel_path in not giving what is supposed to give
> anims_path is giving proper path like "D:\del\malcolm_v109_malcolm.anim"
> but mel_path giving "d:/"
> please help me out.
>
> for obj in objs:
> object_name = renamer (obj)
> cmds.select (obj)
> anims_path = path_input+ platform_tester ()+ object_name +'.anim'
> mel_path = mel.eval ('$mel_path = python("anims_path")')
>
--
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/dba7a825-d7f9-4317-843f-53fc09c42245%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.