mel script link - https://www.highend3d.com/maya/script/simple-pipe-for-maya
for this script I want to create a GUI button in python script, How do I do
that using source as mel.eval('source "/usr/people/vishal/SimplePipe.mel"')
can you edit the script and send it to me
On Wednesday, June 26, 2019 at 4:10:14 PM UTC+5:30, Vishal Kadam wrote:
>
> I'm very new to this scripting can you help me what do I add in the
> script, and how to I use global mel proc
>
> On Tuesday, June 25, 2019 at 11:10:29 PM UTC+5:30, AK Eric wrote:
>>
>> In general it's bad form to require a source of a mel script to trigger
>> execution. If you make a global mel proc in the script with the same name
>> as the script, you can just do:
>> mel.eval("test");
>> And that will execute it.
>>
>
--
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/bf7b4f0c-79d6-4e2a-b895-ef5ad075b58d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.