AnimSchoolPicker Functions

Post Reply
sgivord
Posts:3
Joined:Mon Mar 16, 2015 3:09 pm
AnimSchoolPicker Functions

Post by sgivord » Mon Mar 16, 2015 3:17 pm

Hi!
I would like to acces the AnimSchoolPicker Functions and particularly the navigations functions, like 'Reset View' or 'Frame View' in Maya (Linux) .
The problem is that only selection functions are printed in the script editor. Like 'AnimSchoolPicker select some_controller;' or 'AnimSchoolPicker clear;'
My goal is to automate the framing on certain parts of the picker.
How can i call those functions? Please :)
Thanks for creating this amazing tool, and above that sharing it for free!

Have a good day.
Soal Givord

User avatar
admin
Site Admin
Posts:507
Joined:Thu Jul 21, 2011 12:51 pm

Re: AnimSchoolPicker Functions

Post by admin » Tue Mar 24, 2015 1:11 pm

I will pass that along as a possible addition.

sgivord
Posts:3
Joined:Mon Mar 16, 2015 3:09 pm

Re: AnimSchoolPicker Functions

Post by sgivord » Fri Mar 27, 2015 10:44 am

Ok thank you.
In the meantime is it possible to know the accessible functions, please?

sgivord
Posts:3
Joined:Mon Mar 16, 2015 3:09 pm

Re: AnimSchoolPicker Functions

Post by sgivord » Mon Apr 20, 2015 9:46 am

I know i can open a picker with this command:
mc.AnimSchoolPicker ("open", "C:/.../mypicker.pkr")

But can i open it with a specific namespace? Or can i specify a namespace via a script command?
It would really help :)
Thanks again.

SGivord

User avatar
admin
Site Admin
Posts:507
Joined:Thu Jul 21, 2011 12:51 pm

Re: AnimSchoolPicker Functions

Post by admin » Tue Apr 21, 2015 12:07 pm

Yes, the Open command is safe.
We have noted your request for more command-line abilities.

thoolaeff
Posts:11
Joined:Thu Dec 11, 2014 5:52 pm

Re: AnimSchoolPicker Functions

Post by thoolaeff » Thu Aug 18, 2016 1:21 pm

Are you able to share any more command line abilities?

Opening is great but Ideally I could also check what pickers are already open and only open them if they aren't already open.
That and Setting the namespace like mentioned above would allow us to have some automation.

I would like to be able to have a script that Identifies which assets in my scene have pickers associated with them, check if those pickers are are already open, open them if they aren't or close and relaunch them, and set the namespaces as needed.

The first part is on my end but the listing of open pickers, closing a picker, and setting a namespace command i would love to know so I can create this sort of smart launcher.

Please share any additional commands that you can.

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests