access to item from menu

access to item from menu

marcury
Advocate Advocate
579 Views
5 Replies
Message 1 of 6

access to item from menu

marcury
Advocate
Advocate

hi , im trying to do a script to automatize many actions , but just one is impossible to get the command , actually is this auto rig menu menuItem "MayaWindow|TSM3MainMenu|TSM3RigMenuItem"; but cant get the command to run it , need manually click to open window and click again rig button , theres any way to can access this last button to can run this without need manually click?

0 Likes
580 Views
5 Replies
Replies (5)
Message 2 of 6

Kahylan
Advisor
Advisor

Hi!

 

Is this auto rig a maya intern plugin like HumanIK or a script that you have loaded in?

 

If the second is the case, you might just want to load the plugin into your script and feed in the arguments/ access the function straight in the source code. Thats probably easier than writing a macro that presses a button.

0 Likes
Message 3 of 6

marcury
Advocate
Advocate

i uploaded video showing exactly what happen , i hope can see it ... basically this go to menu and click rig and open new window and need click rig again ,.... cant find a way to execute it through mel or python , theres not any info even if echo all commands ....... its exterior plugin not inside maya like humanik ... called setup machine 3 ..... i dont understand very much what you say about load plugin inside script , inside script i load plugin to activate it but still dont know how to access the menu and the python command for that rig .... besides its not just go menu and click rig ... click rig just open new window which need click rig again , i could find command to open menu and click rig , but this new open window is the thing that totally im lost....... 

0 Likes
Message 4 of 6

Kahylan
Advisor
Advisor

The plugin you're using is rather secure, so directly accessing the code doesn't work, you're right.

 

I loaded it and tried to access the button via code and also had no luck, sadly.

 

But I've seen that there is a support Email on the plugin page. https://www.rafanzovin.com/tsm3

 

You might want to contact Raf directly about this. I personally never had contact with him, but I've heard that he is nice and likes to help people out when he's asked.

 

Sorry I couldn't be of any help here.

Message 5 of 6

hamsterHamster
Advisor
Advisor

Afaik, TSM3 is discontinued, the support is for paying customers, otherwise it is made available free.

Using it for a year. Still, give it a shot.


,,,_°(O__O)°_,,,
Maya2019.1 @ Windows10 & GeForce GTX1080Ti

If the post was helpful, click the
 ACCEPT SOLUTION  button, so others might find it much more easily.

Message 6 of 6

marcury
Advocate
Advocate

actually i love this tsm3 plugin i use since tsm2 , its very simple visual comfortable curves style with all u need and even if now have some viewport 2.0 little visual issue is not a problem and i can keep using it forever ,  i contacted him few times and yes he is nice and very helpful but about this issue he said cant help , still looking for some dirty ways to access the menu the item but i think no luck ....... thx for try helping!

0 Likes