Grasshopper

generative modeling for Rhino

Hans Hubers
  • Male
  • Delft
  • Netherlands
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (30)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Hans Hubers's Friends

  • Jon Mirtschin

Hans Hubers's Discussions

How to get the input parameter of your GH_Component in vb.net
7 Replies

Started this discussion. Last reply by David Rutten May 8.

Arrow keys
3 Replies

Started this discussion. Last reply by David Rutten May 14, 2012.

Naming objects
1 Reply

Started this discussion. Last reply by David Rutten Mar 17, 2010.

 

Hans Hubers's Page

Latest Activity

David Rutten replied to Hans Hubers's discussion How to get the input parameter of your GH_Component in vb.net
"I see. Are you also absolutely certain that inputs only ever contain a single value and that value is not null? IGH_Structure is a pretty minimal interface but GH_Structure(Of T) has some useful features for this sort of thing. Since you know the…"
May 8
Hans Hubers replied to Jeff Niemasz's discussion empty default input parameters on custom component
"Input parameter <nickname> failed to collect data see attached file RegisterInputParmas code is: Protected Overrides Sub RegisterInputParams(pManager As Grasshopper.Kernel.GH_Component.GH_InputParamManager)…"
May 8
Hans Hubers replied to Hans Hubers's discussion How to get the input parameter of your GH_Component in vb.net
""name of the user" because we are developing a collaborative design tool. "team member" would be a better description. I am making a prototype in vb.net with a listview that shows the shared parameters between different…"
May 8
David Rutten replied to Hans Hubers's discussion How to get the input parameter of your GH_Component in vb.net
""name of the user"? sorry, I must be confused today. You're looking to populate a windows.forms.listview with input parameter names? -- David Rutten david@mcneel.com Poprad, Slovakia"
May 7
Hans Hubers replied to Hans Hubers's discussion How to get the input parameter of your GH_Component in vb.net
"I want to use a panel with the name of the user as input parameter for a custom GH_Component to be listed in a cell of a Listview on a Windows.Form when the user hits a check button."
May 7
David Rutten replied to Hans Hubers's discussion How to get the input parameter of your GH_Component in vb.net
"Nicknames and even Names can change. It's always dangerous to rely on them. Accessing parameter through their index is the recommended way. Also note that the volatile data may not have any branches. In that case Branch(0) will throw an…"
May 7
Hans Hubers replied to Jeff Niemasz's discussion empty default input parameters on custom component
"Yes"
May 7
Hans Hubers replied to Hans Hubers's discussion How to get the input parameter of your GH_Component in vb.net
"What I found that worked is: Dim myInputParameter as String = Me.Params(x).VolatileData.Branch(0).Item(0).ToString x being the number given when registering the parameter input But I guess that it would be better to find the nickname of the…"
May 7
David Rutten replied to Hans Hubers's discussion How to get the input parameter of your GH_Component in vb.net
"RegisterInputParams and RegisterOutputParams are called from within the constructor of GH_Component. It is possible to remove and add parameters later as well (though never during a solution) by using the Params objects. So if you're inside a…"
May 7
Hans Hubers replied to Jeff Niemasz's discussion empty default input parameters on custom component
"Tried it, but if that input parameter is not connected, I still get the error "failed to collect data"..."
May 7
Hans Hubers posted a discussion

How get the input parameter of your first GH_Component in vb.net

In the class that builds the GH_component you register the parameter inputs in a Protected Overrides Sub. Now how can I use the input in an other sub?See More
May 7
Hans Hubers replied to Jeff Niemasz's discussion empty default input parameters on custom component
"Probably changed in new version? Now pManager doesn't have a Register_StringParam method... I use pManager.AddTextParameter("String", "I", "Input file path", GH_ParamAccess.item) How can we make an input parameter…"
May 7
Hans Hubers replied to Jerome's discussion a GOOD way to debug?
"Can you tell me the setting in vb.net to start a GH file? Spares me three clicks and typing Gras :)"
May 7
Hans Hubers replied to Jerome's discussion a GOOD way to debug?
"hmm, I am using Visual Studio 2012, not the express edition and VB not C#. Any idea how I could debug a GH component here? Now I have to close GH and Rhino every time and replace the *.gha file."
May 3
Hans Hubers replied to Jerome's discussion a GOOD way to debug?
"Hi David, Do you already have an answer to the debugging question? What is the best way to debug a vb.net script that makes a new GH_component in VS2012? E.g. I added a second windows form project (VS needs an executable project for…"
May 3
Hans Hubers replied to David Rutten's discussion Hardware requirements and suggestions
"What should one do, when Rhino gets slow? I noticed that even if you disconnect a Grasshopper component that caused the problem, the machine stays slow. Only a restart helps. Is there a command that frees unused memory?"
Feb 7

Profile Information

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service