• 1/3

Template Plug-in Projects for 3ds Max

Posted by Christopher Diggins, 10 July 2009 1:10 pm

The 3ds Max SDK comes with an AppWizard, for generating template C++ plug-in projects, which some people seem to like, but from what I can tell even more people dislike. I recently uncovered a neat trick: if you open the project file in the AppWizard folder (e.g. C:\Program Files\Autodeskds Max 2010 SDK\maxsdk\howtodsmaxPluginWizarddsmaxPluginWizard.vcproj) it can't be compiled, but you will see a list of .cpp files for each of the different kinds of plug-ins supported by Autodesk (well most of them at least).

These files are interesting, because if we do a bit of search and replace (e.g. [!output CLASS_NAME] -> YourClassName) you have almost the complete source code for a plug-in. I wouldn't suggest doing this unless you know what you are doing, but if you are like me, you may find it an interesting exercise at least to browse the source code generated by AppWizard.

Postscript: I'd like to hear your comments about AppWizard do you use it? Do you dislike it? Would you rather see a set of blank template projects? 

Comments

There are currently no comments for this post. Be the first to comment!

Add Your Comment

You must be logged in to post a comment. Login here or Register

Please only report comments that are spam or abusive.