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

Import function in Rhino 8 from external python file

$
0
0

Hello, I am working on Rhino 8 and using a Visual Studio Code as editor. I could ask if there is a way to import a file python (on VS Code) where I define a function and then Run the code on Rhino with the command Run in Rhino WIP. Because, I import the file without any warnings on VS Code, however when I try to run in Rhino I get back this: ModuleNotFoundError: No module named 'Module' (Module is the name of the folder where I have the .py file with the function) Thank you!

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles