PDA

View Full Version : custom particle attr


Scott212
05-19-2004, 05:24 PM
how do you add a custom PP attribute through mel. I thought you could do it through the addAttr command but it doesn't seem to be working. Anyone know?

jonathan161
05-19-2004, 08:00 PM
yeah you are right you use the addAttr command, this worked fine for me:


addAttr -longName testAttribute -dataType doubleArray particleShape1;


think you just need make sure the dataType is set to doubleArray for it to be a PerParticle attribute!

Jonathan wills

Scott212
05-19-2004, 08:19 PM
thanks for reaffirming what I was doing, guess I just need to keep playing with it

CGTalk Moderation
01-18-2006, 06:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.