Hi guys, I met the Error: ‘bool’ object has no attribute ‘my function’ and I fixed when I run code inside Maya script edit but still no clue why still show error when I run it through PyCharm.
The interesting thing is use same code but not use self (because there’re error when you use it) in Maya script edit, the code works.
However, when I use same code but run it in PyCharm the classical error occurred!
I test my code sever times no issue, but it shows the error when I try build UI use cmds.button(label=my_label, command=(armR.buildLArmJoints)) # call a founction inside other function
I’m wondering, Are some setting I didn’t do it right or some class didn’t import successfully?
thank you read my topic, I hope can get some help.