Your code gets triggered by the callback in maya 2009. But there is an error in your func function.
You should use OpenMaya.MScriptUtil.setBool(refCode, True) to return your value. There is no need to return anything directly from the function. I also think there is a bug in maya 8.5 Bård 2009/1/13 Ofer Koren <[email protected]>: > > > > -- Bård Henriksen - [email protected] --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
