Picker Mel/Python code
Posted: Fri Jul 24, 2015 6:27 pm
I would like to make a button on my pickerset to swap the namespace to the currently selected character. I've written such code for the ABX picker where I simply figure out the namespace of whatever is selected, and in the active panel in the selection gui, I find the namespace it's set for and swap in the new one. Unfortunately, when I use the script editor to display all history, all I can get from it is the command to bring up the namespace selector:
AnimSchoolPicker "rebind" `picker_ListNamespaces`;
I'd love to be able to make a smarter button to simply run whatever is going on in that dialogue box instead of having to manually hunt and find the character I want.
If you can provide me with the snippet of code to control querying and changing the namespace for a tab, I'd happily share my code for a button that will swap the current tab to the namespace for the currently selected character.
AnimSchoolPicker "rebind" `picker_ListNamespaces`;
I'd love to be able to make a smarter button to simply run whatever is going on in that dialogue box instead of having to manually hunt and find the character I want.
If you can provide me with the snippet of code to control querying and changing the namespace for a tab, I'd happily share my code for a button that will swap the current tab to the namespace for the currently selected character.