/// <summary> /// will be called when the plugin will initialized from max /// </summary> public static void AssemblyMain() { AssemblyFunctions.GlobalInterface = Autodesk.Max.GlobalInterface.Instance; AssemblyFunctions.Core = AssemblyFunctions.GlobalInterface.COREInterface; AssemblyFunctions.Interface7 = AssemblyFunctions.GlobalInterface.COREInterface7; //create the descritor and add the class to max via core interface AssemblyFunctions.Descriptor = new UtilityMeshInspectorDesc(AssemblyFunctions.GlobalInterface); AssemblyFunctions.Core.AddClass(AssemblyFunctions.Descriptor); }
public Class2(IInterface7 argument7) { Argument7 = argument7; }