Description
Reloads an add-on library previously unloaded with UnloadAddonLib or from the Libraries dialog. The following add-on library types can be reloaded: compiled operators, compiled custom commands, run-time shaders and events.
Tip: You don't really need to reload an add-on explicitly since Softimage automatically reloads it when required. For instance, a compiled operator library is reloaded when an evaluation is required.
Scripting Syntax
ReloadAddonLib( FileName )
Parameters
|
Parameter |
Type |
Description |
|
FileName [in/out] |
The full path of the library to reload. Default Value: A file browser prompts the user for a file if the argument is not provided. |
Examples
VBScript Example
' ' This example demonstrates reloading library files ' ' Reload an add-on library file located in the factory path myAddonLib = Application.InstallationPath( siFactoryPath ) & "\Addons\Application\bin\nt-x86\cpp_splatter.dll" Application.LogMessage "Reloading: " & myAddonLib ReloadAddonLib myAddonLib '--------------------------------------------------------- ' Output from this script: 'INFO : "Reloading: <FactoryPath>\Addons\Application\bin\nt-x86\cpp_splatter.dll" '
See Also
Autodesk Softimage v7.5