3DS Max 2025, NET Core 8.0 ERROR: my C# plugin as 3dsMax-Explode-Geometry (ver. 2024)'s template

3DS Max 2025, NET Core 8.0 ERROR: my C# plugin as 3dsMax-Explode-Geometry (ver. 2024)'s template

tuiday17
Explorer Explorer
337 Views
0 Replies
Message 1 of 1

3DS Max 2025, NET Core 8.0 ERROR: my C# plugin as 3dsMax-Explode-Geometry (ver. 2024)'s template

tuiday17
Explorer
Explorer

Dear Support Team,

  My plugin code:

 

using Autodesk.Max;
using UiViewModels.Actions;

namespace ADNExplodeGeometry
{
  public abstract class amdTplCmdClass : CuiActionCommandAdapter
  {
    public override string ActionText
    {
      get { return InternalActionText; }
    }

    public override string Category
    {
      get { return InternalCategory; }
    }

    public override string InternalActionText
    {
      get { return CustomActionText; }
    }

    public override string InternalCategory
    {
      get { return "DMD"; }
    }

    public override void Execute(object parameter)
    {
      try
      {
        CustomExecute(parameter);
      }
      catch (Exception ex)
      {
        Debug.Print(ex.Message);
      }
    }

    public abstract string CustomActionText { get; }
    public abstract void CustomExecute(object parameter);

  }// class

  //***************************
  public class mdAboutTKD_MD : amdTplCmdClass
  {
    public static string mdName = "DMD test";

    public override string CustomActionText
    {
      get { return mdName; }
    }

    public override void CustomExecute(object parameter)
    {
      IGlobal g = Autodesk.Max.GlobalInterface.Instance;
      IInterface ip = g.COREInterface;

      ip.PushPrompt("Hello DMD!");
    }

  } // class

}//namespace

 

 

I can see my plugin in 3DS Max 2025, but error when I start my command:

aaa.png

Could you help me fix this error or update new version for 3DS Max 2025 in "3dsMax-Explode-Geometry" (https://github.com/ADN-DevTech/3dsMax-Explode-Geometry)

 

Best Regards,

DMD

 

0 Likes
338 Views
0 Replies
Replies (0)