admin管理员组

文章数量:1356522

Has anyone tried implementing a Core interface in the 3ds Max .NET SDK?

This is an example of the 3ds Max C++ SDK

#include "C:\Program Files\Autodesk\3ds Max 2025 SDK\maxsdk\include\ifnpub.h"

extern const Interface_ID MyInterface_Interface_ID;

class IMyInterface :
    public FPInterfaceDesc
{
public:
    IMyInterface():
        FPInterfaceDesc(MyInterface_Interface_ID, _T("MyInterface"), 0, NULL, FP_CORE, p_end) { };
};

Do I need to inherit this interface in .NET?

using Autodesk.Max;

public class IMyInterface : IFPInterfaceDesc
{
    ...
}

本文标签: 3dsmaxHow to implement a FPInterfaceDesc Core interface in the 3ds Max NET SDKStack Overflow