This sample code is in .NET for 3ds Max SDK, and is also available for download from the Autodesk App Store as a simple application. First select the nodes that you want to explode (you have an option ...
3ds-devkitpro-tutorial (under construction, it's 11:40 pm right now, I'll finish it later) A tutorial on how to develop (very basic) 3ds homebrew apps with devkitPro on Windows, macOS, and Linux.