While playing around a bit more today, I found that I got an error when Max tried to load an abstract class:
namespace MaxDotNetX
{
using System.ComponentModel;
using Autodesk.Max;
public abstract class PluginBase : IPlugin
{
public IGlobal Global { get; private set; }
public IInterface Interface { get; set; }
public IPluginView View { get; set; }
public void Initialize(IGlobal global, ISynchronizeInvoke sync)
{
Global = global;
Interface = global.COREInterface;
InitializeView();
}
public abstract void InitializeView();
public void Cleanup()
{
View.Close();
}
}
}