Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / SDK / Custom Attributes on a Material
  RSS 2.0 ATOM  

Custom Attributes on a Material
Rate this thread
 
62549
 
Permlink of this thread  
avatar
  • Total Posts: 1
  • Joined: 05 December 2011 10:22 AM

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!



Replies: 0