miarmy
2018-04-29 08:21:18 UTC
Hi...I couldn't create a dynamic attributes in api 2.0.
In the api 1.0 we can use this code :
OpenMaya.MPxNode.addAttribute(createdAttribute, OpenMaya.MFnDependencyNode.kLocalDynamicAttr)
In the api 1.0 we can use this code :
OpenMaya.MPxNode.addAttribute(createdAttribute, OpenMaya.MFnDependencyNode.kLocalDynamicAttr)
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/54858525-0590-4e49-a0d5-048a201a5428%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/54858525-0590-4e49-a0d5-048a201a5428%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.