Tell us what you think of the site.
how i can add particle Dynamic attribute? like radiusPP,parentU,parentV.
thanks
imitating the commands when one adds per particle attrs through the UI:
import maya.cmds as cmds cmds.addAttr("|particle1|particleShape1", ln = “radiusPP”, dt = “doubleArray” ) cmds.addAttr("|particle1|particleShape1", ln = “radiusPPO”, dt = “doubleArray” )
thank you,i know, the particle dynamic attr,like objcet attr add, cmds.addAt’tr(’objcet’,in=’attrname’,dt=’string’) cmds.setAttr(’objcet’,radius=’1.5’,e=’True’)