I have written a plugin that allows objects to be scattered on surface. But I cant find the set of attributes. I need to create an attribute that looks in Maya Attribute Editor like this: as well as other attribute that looks in Maya Attribute Editor like this: Simple MFnTypedAttribute with the MFnData:: kString Code: MFnTypedAttribute strAttr; mobjString = strAttr.create("ScatterFileName", "sfn", MFnData:: kString); looks like I am not very satisfied. How can I create required attribute?