Running Plug-ins

3ds Max loads plug-ins from two places: the "plugins" and the "stdplugs" subfolders of your 3ds Max installation folder. You can either copy the output file manually after it is built successfully, or you can direct Visual Studio to copy the file using the project properties dialog (see Configuration Properties > General). The location you should use depends on whether you are building a sample plug-in, or you are building a new plug-in

  1. Use "plugins" when writing a plug-in with a new class id.
  2. If you want to run a sample that you have built from source with the original class id, you should copy the plug-in from the output directory to the 3ds Max /stdplugs sub-folder, as well as copy its corresponding .mui file to the appropriate language subfolder (/stdplugs/en-US). This will replace the standard 3ds Max plug-in with the SDK version.

    By copying the plug-in DLL into /stdplugs instead of /plugins you avoid a Class_ID conflict. 3ds Max will not load two plug-ins that have the same Class_ID. It will only load the first one and put up a warning about the second one.

For more information on Class_IDs see the section Required DLL Functions.