Custom Toolbar tutorial?

 
 
 
Posted by:duke
Data created:15 April 2010

It would be great to see a snippet of how to create a toolbar. According to the SDK, I need to create an IICUIFrame, a IICustToolbar, and attach the frame to the toolbar using GETICUIFrame. I assume I get the Frame using:

IGlobal.CUIFrameMgr.GetICUIFrame("My Frame");

But am unsure of how to get a custom toolbar. I tried searching Autodesk.Max in Reflector for "GetICustToolbar" but nothing came up.

 

 

Hmm, you're right- GetICustToolbar(...) wasn't translated to .NET for some reason. I will investigate this for next Max.NET build, I am assuming there were some export symbol mixup which confused the translator.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Great - thanks for such quick responses!

Any word on when a new release will be out? Last release was January according to the website!

Can't give an exact date, currently a lot of work on my plate. Mainstream/public Max.NET releases have longer cycles than other projects due to its sheer compilation scope. If this is urgent for you please let me know.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Ok, I just tracked this one down. Should definitely be in next build.

Marsel Khadiyev (Software Developer, EPHERE Inc.)