Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4146

Python imported files not reloaded after edit? Win 6 SR21

$
0
0

@jet wrote:

I have python scripts that import a library script in the same directory that are working as expected. However, when I move a function from a script to the library (so I can use it in the other scripts) Rhino 6 bonks with an error message:

Message: ‘module’ object has no attribute ‘function_name_I_just_moved’

I’m guessing that the library I’ve imported is not getting reloaded after the edit. I’m a *nix Python person, not IronPython, so I’m wondering if I have to force a reload in Rhino.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4146

Trending Articles