Grasshopper

generative modeling for Rhino

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

Hans Hubers's Friends

  • Jon Mirtschin

Hans Hubers's Discussions

Arrow keys
3 Replies

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

Naming objects
1 Reply

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

How to address classes functions methods from external dll's
13 Replies

Started this discussion. Last reply by Ying Tsai Chen Jun 17, 2010.

 

Hans Hubers's Page

Latest Activity

David Rutten replied to Hans Hubers's discussion Arrow keys
"Hans, I'm not ignoring you, but you posted a big problem and I'm very strapped for time at the moment. I do have something which you may find useful, when you crash Rhino, don't dismiss the Error Report window. Instead leave it on the…"
May 14
Hans Hubers replied to Hans Hubers's discussion Arrow keys
"Well it might not be the fact of string - double conversion, because if I remove that in my last version, it still works. It might be that I lately put 0 in the TextBoxes and before I left them empty? Or that I changed from a class dll to a forms…"
May 14
Hans Hubers replied to Hans Hubers's discussion Arrow keys
"Found it! Had to convert text to double and back to text again: Select Casee.KeyCode CaseKeys.Right m_form.TextBox1.Text = CStr(CDbl(m_form.TextBox1.Text) + p) e.Handled = True CaseKeys.Left m_form.TextBox1.Text = CStr(CDbl(m_form.TextBox1.Text) -…"
May 13
Hans Hubers posted a discussion

Arrow keys

Hi,I Would like to make a VB component in Visual Studio 2008 that moves objects with the Arrow keys and Page Up and Down keys. I made a Form with three text boxes to store the incremented x, y and z values. But tried several methods to capture the KeyDown event, e.g. with Putting next code in the Form1.vb:    Private Sub Form1_KeyDown1(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown        RaiseEvent ArrowOrPage(Me, e)    End SubNext to the usual code to…See More
May 12
Hans Hubers replied to David Rutten's discussion Grasshopper 0.7.0049 available for download
"David, My old files don't work anymore. It gives a warning that the Pipe object is not supported (or something like that)."
Sep 2, 2010
Ying Tsai Chen replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"Hi, I keep receiving "Unable to load one or more of the requested types" in the C# GH component, when i try to load a external .dll file in the current built grasshopper.. but the previous old version GH can take the same dll file.. can…"
Jun 17, 2010
panhao replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"Though it said Unable to load one or more of the requested types,the VB component worked very well. A window with two buttons appeard."
Jun 9, 2010
David Rutten replied to Hans Hubers's discussion Naming objects
"Hi Hans, when you bake objects via the component and parameter menus, then yes. But they don't stick. The only other option you have now is to bake them yourself using a VB or C# component. This is something we'll address pretty soon as…"
Mar 17, 2010
Hans Hubers posted a discussion

Naming objects

Is there a way to give names and other attributes to objects?
Mar 17, 2010
Jason Fleming replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"Daniel: I had the same problem. When you open the c:\windows\assembly folder, a shell extension is used to display the assemblies (instead of windows explorer displaying the actual files). This issue, and how to get around it, are addressed…"
Feb 12, 2010
Daniel Caserta Segraves replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"Sorry to jump in here but: I can't seem to reference an assembly by this method. I'm trying to reference Microsoft.Office.Interop.Excel. The dialogue box does not respond to 'Open' or double-clicking, though it is visible as a…"
Feb 10, 2010
David Rutten replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"Hi Hans, I noticed this too. No idea what the problem is yet. It is me who is supposed to look at the LoaderExceptions I think. -- David Rutten david@mcneel.com Poprad, Slovakia"
Jan 18, 2010
Hans Hubers replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"There is a warning about the loading of the dll: 'Import failed for 'D:\HomeBriefcase\Hyperbody algemeen\Office\Technical management\BIM\GrasshopperVBtest\HHEventsExample\HHEventsExample\obj\Debug\TempPE\My…"
Jan 18, 2010
Hans Hubers replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"Thanks David, that is exactly what I was looking for. Only I don't see the dll in the imports section of the VB component script... But who cares, as long as it works."
Jan 17, 2010
David Rutten replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"EventsExampleProject.zip contains a complete VB class library which has exactly one Form defined. This form contains two buttons and a TextBox, and it adds 3 events to the default list: Button1Pressed Button2Pressed TextContentChanged Then, the…"
Jan 16, 2010
David Rutten replied to Hans Hubers's discussion How to address classes functions methods from external dll's
"Hi Hans, do you want to expire the current Grasshopper solution based on an external event? I mean, if someone presses a button on a Form which is declared inside a DLL you are referencing from within a VB component, do you want Grasshopper to…"
Jan 16, 2010

Profile Information

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service