Hey! I actually just found a solution, go to this site https://github.com/ccc159/RhinoPythonForVscode and download the 3rd folder option, “src” and put in the same folder you have the RhinoPythonForVscode-master.
Hey, thank you for the answer. I need to ask something however. same folder you have the RhinoPythonForVscode-master file that you described is on desktop. I guess that’s not the corrext directory. Can you describe which folder I should put the src folder in?
Thank you for your reply. I did that and now there is no error. However, no code is being executed either. I get a
“Python script engine has been reset.”
message in the rhino prompt and that’s all.
I don’t know what went wrong. I just installed updated for rhino and that’s it. It was working when I first installed it.
It’s difficult to help from what you described. Could you make screenshots or videos to show what went wrong? Did you try to print anything so that you know it works or not?
Sorry @Erdem for the late reply. Did you actually try to print anything in your code or add anything in rhino? Looks like your code should have been executed already.
Hello, no problem about the late reply! We all have things to do.
Well, after I read your message I run Rhino and created a new .py file in VSCode and tried to print “Hello” and it worked. I even made a circle with rs.AddCircle(). But after a couple of tries it stopped working again. What do you think is wrong? I have CodeListener v0.1.7.0 installed…
Tried with Rhino 5, 6 and 7 with no success. Also tried Visual Studio 2015 instead of VSCode, again the same outcome (No errors but nothing prints).
Unfortunately we have never tested CodeListener on other platforms except windows 10. I am not sure it is caused by the system version. But from what you described it is more likely the communication between the editor and rhino has broken after some time. As it is rather an unique issue here which only happens on your machine, we’d suggest you to run it somewhere else…