Max Script Extension
@section NMaxScriptExtensionOverview OverviewThe Nebula2 3DSMax Toolkit provides several max script extension commands which are useful to customize your own export work flow.
@section NMaxScriptExtensionCommand Max Script Commands
- nExportScene "filename" previewmode
Export a scene with the given filename. If '-1' is passed, the plug-in runs on preview mode and it does not save the exported model on the disk.
example:nexportscene "cube01.n2" -1
- nExportNode "filename" objectname previewmode
Export the given node object with the filename. If '-1' is passed, the plug-in runs on preview mode and it does not save the exported model on the disk.
example:nexportnode "sphere01.n2" $sphere01 -1
- nShowDirSettingDlg
Show directory setting dialog up.
example:nshowdirsettingdlg()
- nGetProjDir
Retrieves project directory path.
example:ngetprojdir()