First you need to add wizard to your visual studio.
Installing
----------
1. Open the 3dsmaxPluginWizard.vsz file (which is located in the 3dsmaxPluginWizard root directory) in a text editor and
edit the ABSOLUTE PATH parameter to reflect the new location of the 3dsmaxPluginWizard root directory. Do not add a backslash after the directory name.
Param="ABSOLUTE_PATH = [Absolute Path Location of 3dsmaxPluginWizard Root Directory]"
2. The version of Visual Studio you are using will determine what value to use for the 'Wizard' variable in the file 3dsmaxPluginWizard.vsz.
For Visual Studio 2010 use: Wizard=VsWizard.VsWizardEngine.10.0
For Visual Studio 2012 use: Wizard=VsWizard.VsWizardEngine.11.0
For Visual Studio 2015 use: Wizard=VsWizard.VsWizardEngine.14.0
For Visual Studio 2017 use: Wizard=VsWizard.VsWizardEngine.15.0
3. Copy the following files from the 3dsmaxPluginWizard root directory to the 'VC\VCProjects' directory under your Visual Studio installation (e.g. for
Visual Studio 2015 copy them to C:\Program Files(x86)\Microsoft Visual Studio 14.0\VC\VCProjects and for
Visual Studio 2017 copy them to C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\vcprojects):
3dsmaxPluginWizard.ico
3dsmaxPluginWizard.vsdir
3dsmaxPluginWizard.vsz
If you are using Visual Studio Express Edition, you need to copy the files listed above to the 'VC\Express\VCProjects' folder.
4. Make all the files in the 3dsmaxPluginWizard root directory writable instead of read-only. If this is not done, then Visual Studio may generate an
error after creating the plugin project.
5. At this point the 3ds Max Plugin Wizard project should appear under File:New:Projects:Visual C++ Projects in Visual Studio.
Usage
-----
The wizard will guide you through the steps involved in setting up your 3ds Max plugin project.
As of 3ds Max 2020, the preferred UI framework for 3ds Max plugins is Qt. Qt UI support has been implemented for the following plugin types, and is the default UI option:
* Utility (UtilityObj)
* Procedural Objects (GeomObj and SimpleObj2)
* Modifiers (Modifier and SimpleMod2)
Note
----
1. The name of the project you specify should not start with a number. This is because the wizard takes that name, and creates variables based on it.
If an identifier starts with a number, then your project won't compile.
Then
You need to copy all DLL files in the root of 3dsmax or side by side of your plugin.
you can see what dll has been used in your plugin by check your file in command-line tools.
run -> cmd
Then use this command
dumpbin /imports MaxToLux.dlr
it will show you what dll you used inside your plugin you need to add dll's if they are not already inside 3dsmax or system32 folder.