Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 15-01-2009 , 12:40 PM
Registered User
Join Date: Jan 2009
Posts: 1

How create file-open attribute?

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:
user added image
as well as other attribute that looks in Maya Attribute Editor like this:
user added image
Simple MFnTypedAttribute with the MFnData:: kString
Code:
MFnTypedAttribute strAttr;
mobjString = strAttr.create("ScatterFileName", "sfn", MFnData:: kString);
looks like
user added image
I am not very satisfied.
How can I create required attribute?

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads