Share

Interface: PluginPackageManager

This Core Interface provides MAXScript access to the Plugin Package Manager that handles plug-ins packaged in the Autodesk Bundle format.

Available in 3ds Max 2014 and higher.

Note: This interface was introduced in 3ds Max 2014 as ExchangeStorePackageManager. It was renamed in 3ds Max 2020 to PluginPackageManager. However, a global variable named ExchangeStorePackageManager points to the re-named interface to prevent older scripts from breaking.

Methods:

<integer>PluginPackageManager.GetNativePlugInCount()

Returns the number of native plugins.

<filename>PluginPackageManager.GetNativePlugInFullPath <index>index

Returns the full file name of the indexed native plugin.

<integer>PluginPackageManager.GetManagedAssemblyCount()

Returns the number of managed assemblies.

<filename>PluginPackageManager.GetManagedAssemblyFullPath <index>index

Returns the full file name of the indexed managed assembly.

<integer>PluginPackageManager.GetUISchemeCount()

Returns the number of UI Schemes.

<filename>PluginPackageManager.GetUISchemeFullPath <index>index

Returns the full file name of the indexed UI Scheme.

<integer>PluginPackageManager.GetDefaultSettingCount()

Returns the number of Default Settings.

<filename>PluginPackageManager.GetDefaultSettingFullPath <index>index

Returns the full file name of the indexed Default Setting.

<integer>PluginPackageManager.GetMaxscriptsCount()

Returns the number of MAXScripts.

<filename>PluginPackageManager.GetMaxscriptsFullPath <index>index

Returns the full file name of the indexed MAXScript.

<integer>PluginPackageManager.GetMacroscriptsCount()

Returns the number of MacroScripts.

<filename>PluginPackageManager.GetMacroScriptsFullPath <index>index

Returns the full file name of the indexed MacroScript.

<integer>PluginPackageManager.GetPostStartUpScriptsCount()

Returns the number of Startup Scripts.

<filename>PluginPackageManager.GetPostStartUpScriptFullPath <index>index

Returns the full file name of the indexed Startup Script.

<integer>PluginPackageManager.GetMetaSLShaderPathCount()

Returns the number of MetaSL Shaders.

<filename>PluginPackageManager.GetMetaSLShaderFullPath <index>index

Returns the full file name of the indexed MetaSL Shader.

<integer>PluginPackageManager.GetMiFileCount()

Returns the number of .mi files.

<filename>PluginPackageManager.GetMiFileFullPath <index>index

Returns the full file name of the indexed .mi file.

<integer>PluginPackageManager.GetLightIconPathsCount()

Returns the number of light icon paths.

<filename>PluginPackageManager.GetLightIconPathFullPath <index>index

Returns the full file name of the indexed light icon path.

<integer>PluginPackageManager.GetDarkIconPathsCount()

Returns the number of dark icon paths.

<filename>PluginPackageManager.GetDarkIconPathFullPath <index>index

Returns the full file name of the indexed dark icon path.

<void>PluginPackageManager.ProcessCustomInstallDirectory <filename>path

Processes the given custom install directory filepath.

<void>PluginPackageManager.GetPackageInstallPathByUpgradeCode <string>upgradeCode

Returns the install path associated with the plugin package with the specified upgradeCode. Available in 3ds Max 2020 and higher.

Note: This function replaces the undocumented pathConfig.GetExchangeStorePlugInInstallPath <string>productCode which used the product code as the key.
<integer>PluginPackageManager.GetOSLFoldersCount()

Returns the number of OSL paths. Available in 3ds Max 2021 and higher.

<filename>PluginPackageManager.GetOSLFolderFullPath <index>index

Returns the full OSL path specified by index from the list of OSL paths. Available in 3ds Max 2021 and higher.

<integer>PluginPackageManager.GetAMGFoldersCount()

Returns the number of AMG paths. Available in 3ds Max 2021 and higher.

<filename>PluginPackageManager.GetAMGFolderFullPath <index>index

Returns the full AMG path specified by index from the list of AMG paths. Available in 3ds Max 2021 and higher.

<integer>PluginPackageManager.GetSceneConverterFoldersCount()

Returns the number of Scene Converter paths. Available in 3ds Max 2021 and higher.

<filename>PluginPackageManager.GetSceneConverterFolderFullPath <index>

Returns the full Scene Converter path specified by index from the list of Scene Converter paths. Available in 3ds Max 2021 and higher.

Was this information helpful?