unload_modules

compas_blender.utilities.unload_modules(top_level_module_name)[source]

Unloads all modules named starting with the specified string.

This function eases the development workflow when editing a library that is used from Blender.

Parameters

top_level_module_name (str) – Name of the top-level module to unload.

Returns

list[str] – List of unloaded module names.