[mel]Delete all user defined attributes on selected objects


#1

Hi

I need this commands in mel.
Delete all user defined attributes on selected objects
Thanks


#2

You can delete attribute deletAttr command.
Not sure how to recognize user-defined, I guess if you will try to get and delete all objects attribute it will allow you to delete only user-defined.


#3

I found what I want here
https://www.highend3d.com/maya/script/createlistattribute-for-maya