Views:1902 PermalinkReply bySridevi KoonathonMay 9, 2014 at 2:46am Hi Menno, If you type 'GrashopperDeveloperSettings' into the Rhino command line, you will get the following window (screenshot). Here, you can view (or add new) folder paths where Grasshopper looks for .gha files to load...
I encountered a problem while create a new GH component with GH add-on by using Visual Studio 2010. I installed Wizard assembly from website, it shows under tools>extension Manager. I got an error,( please see attached the screen shot.) so the new project with add-on cannot open at al...
1 and 3 are clearly not needed for you to get it to work, so all the important stuff must happen in step #2. When showing the Grasshopper main window, the following things happen: Grasshopper.Instances.ComponentServer method is called and if it returns null then the whole thing aborts. T...
Posted by Thomas Bildsøe on July 16, 2010 at 2:16am in VB, C# and Python Coding View DiscussionsHi.Does anyone know, if and how it is possible to define the boundaries of a selection box in Vb.net?*EDIT: My initial idea was to use the _SelWindow command. But i can't make i...
The "test" output in the script editor: Runtime error (MissingMemberException): 'GrasshopperDocument' object has no attribute 'HatchPatterns' Traceback: line 39, in AddHatches, "C:\Users\***\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)...
The trick here is to use the hyphen to disable the window and use the command line version of the SelLayer command. private void RunScript(string layer, bool run, ref object A) { if (!run) return; Rhino.RhinoApp.RunScript("-_SelLayer " + '"' + layer + '"', true); ...
The rabbit hole was indeed deep. Using the Task Manager (control-alt-delete) to kill Explorer and then Run in the menu to restart "Explorer," along with restarting the Windows CMD window however,worked. I can now invoke Iron Python ("ipy") via command line from any directory. For the...