algorithmic modeling for Rhino
Tags:
If (Da.GetData(Of GH_Boolean)(0, Execute)) Then
If (Da.GetData(0, Execute)) Then
Dim Execute As Boolean
If (DA.GetData(0, Execute)) Then
blah blah
End If
Ben, Thanks.
However, I'm getting a few problems (I'm usinng Rhino4, Grasshopper 0.8.0051 and VS Express).
The first problem is in your VB example, line:
pManager.Register_Boolean(...)
but I seem to have fixed by using pManager.Register_BooleanParam
The second problem is in line: Da.GetData(...). The error is No accessible 'GetData' can be called with these arguments. I think it's not recognising the Exexute type boolean.
Once the component is written and working how do you distribute it ?
Hi Sivam,
there is no real centralised place for this. You can put it on Food4Rhino or provide a download on a personal website/blog.
GHA's are loaded by end-users typically by drag+dropping them onto Grasshopper. This will copy the gha file into the components folder.
You can also put the gha file manually into the components folder. The folder should be at AppData\Roaming\Grasshopper\Libraries, but it differs on different versions of Windows. Find the Components folder via the File->Special Folders->Components Folder menu item.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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