Grasshopper

algorithmic modeling for Rhino

Hi all, I'm a newbie in GH scripts ... and here is a newbie question.
Is there an easy way to use your favorite text editor while writing/debugging a GH script ?
I mean some way to move the code back and forth between the script component and the text editor (except copy_&_paste) , or a way to reference source files in the script component ?
How do you write your scripts ?   :)
Thanks  -  Emilio

Views: 342

Replies to This Discussion

There is no external editor that can be used in any sort of "integrated" way with GH. IMHO, its a very good idea to use Visual Studio as it is a very good IDE for working with the SDK. Intellisense is much more robust than you'll get in GH, and you'll also get real time compile error warnings which can help offset not having a debugger within GH. All in all, it still comes down to copying and pasting though.

I'm not sure exactly what you mean by "reference source files", but if you mean just referencing a script file that you have on your hard drive, then no. You can reference assemblies/dlls, so if you have some super complicated stuff, you can write that in VS, compile it, then reference it in GH to make things easier.
Hi Damien,
OK, I just wanted to know if I were missing something obvious ...
I'll keep copying and pasting and exporting code from the script component.
Thank you !
Emilio

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service