Custom Attributes on a Material

Custom Attributes on a Material

Anonymous
Not applicable
244 Views
0 Replies
Message 1 of 1

Custom Attributes on a Material

Anonymous
Not applicable
Hello all!
I'm new to the Max SDK but I have done some MaxScript and could use a couple pointers about how to accomplish what, in MaxScript, is a pretty simple task.

Basically I want to attach some custom attributes to each material that is created, and then pop up a dialog to edit them.

In MaxScript, I would declare a custom attributes block definition. Then, I intercept a magical callback that happens when a material is created. At that point I just tell the material to add an instance of the custom attribute block I declared.

How would I do such a thing in the SDK?

Thanks in advance!
0 Likes
245 Views
0 Replies
Replies (0)