unload_modules

compas_ghpython.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 Rhino/Grasshopper.

Parameters

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

Returns

list – List of unloaded module names.