algorithmic modeling for Rhino
I've got the VS debugger working and have set it to start Rhino but I still have to launch grasshopper manually and then load my test file. Is there a way to do these latter steps with command line arguements to Rhino that I can save with the debugger settings?
Tags:
I doubt it can be done with command line arguments. It can however be done with start-up scripts in Rhino, but then it would run every single time you start Rhino. Set up a start-up LoadScript command like this:
The script itself contains the following content:
Option Explicit
Call Main()
Sub Main()
Call Rhino.Command("_Grasshopper")
Dim GH : Set GH = Rhino.GetPluginObject("Grasshopper")
Call GH.OpenDocument("C:\Users\David\Desktop\clockwise.gh")
End Sub
--
David Rutten
david@mcneel.com
Poprad, Slovakia
I've set my VS to open rhino4 and set the build output path to the same location where GH looks for additional libraries. I've also set Rhino to start my gh file on start up.
When I press the debug button, everything launches as expected. But I still can't debug. I've set breakpoints and still noting. Any ideas?
Thanks in advance
[C]
hi Charles,
i got this problem also some months ago. Make sure you compile and build your app every time new after making changes. I use to copy/paste the *.gh data into the right location.
When VB tells you that your breakpoint isnt accessible, you can be sure that you dont work with the newest *.gh data.
Charles, This is a different issue than my thread but I'll try to answer since I struggled with this too. There are various reasons that the breakpoint won't work:
1. If you have VisualStudio 2010 you must get ServicePack 1.
2. Be sure that the "Memory Load" checkbox in the Grasshopper Developer settings is unchecked.
3. If you are pointing to the folders where Visual Studio puts the build files be sure that there isn't another copy of your .gha file that Grasshopper is finding before it gets to the one you are debugging.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by