Skip to content

Commit d5846c0

Browse files
authored
Merge pull request #1051 from compas-dev/gh_unload_module_docs
added note about usage of unload_modules
2 parents 78a4d00 + d162b3f commit d5846c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/gettingstarted/grasshopper.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,10 @@ recognizes the changes. To avoid restarting Rhino, you can use the function
6060
6161
unload_modules('compas_fab')
6262
63+
.. note::
64+
65+
Prefer using `unload_modules` as early as possible in your grasshopper
66+
workflow. Re-loading modules later might result, for example,
67+
in COMPAS not being able to find an `Artist` as well as other issues
68+
related to a mid-workflow re-definition of Python types.
69+

0 commit comments

Comments
 (0)