Hi, normally you have to consider that your node is black box it will take value from input attributes compute some data and write it on your output attributes so you have to be careful not to write anything on your input attributes as it will do infinte loop .
what are you trying to achieve? some time to set default value you can use postConstructor <http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/cpp_ref/class_m_px_node.html#a5c13a6c88a839b5356861d1d09e820d9> () or connectionMade <http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/cpp_ref/class_m_px_node.html#a30e5847b6ec18d5907a277b8a3931eb4> Le dimanche 24 mars 2019 11:55:08 UTC-7, pety20...@gmail.com a écrit : > > hi, how can i, change value Of one attribute in my Node Compute Function?? > > if change value Of the attribute, compute function run again... > and, run again, run again, finally is crash! > because, i use attributeAffects fanction: > attributeAffects(inputAttributeIWantChangeIt, output); > > i want, attributeAffects Disabled, temporarily! -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/da1699c4-2881-4f0a-b19e-65a1662a1953%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.