Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 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