Grasshopper

algorithmic modeling for Rhino

Anton Szilasi
  • Male
  • Zurich
  • Switzerland
Share on Facebook
Share

Anton Szilasi's Friends

  • LUIS ARTURO REYES VALENCIA
  • Amir Rezaei-Bazkiaei
  • Bo Lin
  • Hang Chen
  • Denys Demeshonok
  • Antonello Di Nunzio
  • byron mardas
  • Panda
  • Vinu Subashini
  • Luc Deckinga
  • Leland Curtis
  • Saeran Vasanthakumar
  • Abraham Yezioro
  • s.ali
  • Chris Mackey

Anton Szilasi's Groups

Anton Szilasi's Discussions

Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
3 Replies

Dear all,I have modified several of the Grasshopper.Kernel.Special components including the GH_Number Slider, GH_ValueList and the GH_DialKnob.I've noticed that when I save a Grasshopper file which…Continue

Started this discussion. Last reply by David Rutten yesterday.

Strange behaviour from Grasshopper after expiringSolution of Object
4 Replies

I found a solution to my problem described here: Please read this discussion first.…Continue

Tags: solution, object, expire, bug, Grasshopper

Started this discussion. Last reply by Anton Szilasi on Monday.

Strange behaviour from modifed slider
3 Replies

Dear all,I have modified the base GH_NumberSlider by hiding the original TickCount and TickValue methods in the code attached. (TickValue TickCount.cs)I, then iterate though each value with a…Continue

Started this discussion. Last reply by Anton Szilasi on Thursday.

Pass data between C# compiled components and ghPython components without wires
2 Replies

Dear all,I have written my own class of the GHNumberSlider - called a SPEED slider (In C# using visual studio) I need to know whether the SPEED slider is connected either directly (the output is…Continue

Started this discussion. Last reply by Giulio Piacentino Mar 31.

 

Anton Szilasi's Page

Latest Activity

David Rutten replied to Anton Szilasi's discussion Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
"Don't make that reference until the first solution starts. This is the sort of bookkeeping code that would fit very well inside the BeforeSolution method. It'll be easier to override that than to start registering events."
yesterday
Anton Szilasi replied to Anton Szilasi's discussion Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
"Hi David,  Thanks I did this and it worked, one of my components references another component which is not yet on the canvas yet when the saved file is open. How do I get around this? Is there a guide somewhere to fix these sort of problems…"
yesterday
Abraham Yezioro replied to Anton Szilasi's discussion Ladybug sunpath to too many sunvectors to generate shading surface with shading designer in the group Ladybug Tools
"In addition to Mostapha's comment i want to let you know that Antonello and I are working on a new shading device component. The project is halted at the moment but we intend to renew the development soon. So be tuned. -A."
yesterday
Mostapha Sadeghipour Roudsari replied to Anton Szilasi's discussion Ladybug sunpath to too many sunvectors to generate shading surface with shading designer in the group Ladybug Tools
"What is the purpose of the study? Generating a shading surface for each vector is too much. Generate the sun position for a couple of days in each month instead of every day and then you should be able to run the analysis as expected."
yesterday
Anton Szilasi added a discussion to the group Ladybug Tools
Thumbnail

Ladybug sunpath to too many sunvectors to generate shading surface with shading designer

Dear all,A co worker of mine is trying to generate a shading design from about 2700 sun vectors,unfortunately there are so many sun vectors that the component crashes.The _timeStep_ is already set to 1 so I can't reduce the number of sun vectors apart from changing the length of the analysis period which I don't want to do.Perhaps I should write a component which will whittle down the number of sun vectors?I'm interested to hear all your thoughts,Cheers,AntonSee More
yesterday
David Rutten replied to Anton Szilasi's discussion Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
"Put a breakpoint on the first line of your Read function and debug into it. It should then be fairly simple to see where the mistake lies. If that line isn't even called, you may have to put a breakpoint in the constructor instead."
Thursday
Anton Szilasi replied to Anton Szilasi's discussion Strange behaviour from modifed slider
"Panda again many thanks for your help, this was a separate problem described and solved here: http://www.grasshopper3d.com/forum/topics/strange-behaviour-from-grasshopper-after-expiringsolution-of"
Thursday
Anton Szilasi posted a discussion

Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!

Dear all,I have modified several of the Grasshopper.Kernel.Special components including the GH_Number Slider, GH_ValueList and the GH_DialKnob.I've noticed that when I save a Grasshopper file which contains my custom components and then try to re-open it the file fails to load - I get the errors in the pictures attached.Why is this the case and what do I have to do to solve this issue?Many thanks!See More
Thursday
Anton Szilasi replied to Anton Szilasi's discussion Strange behaviour from Grasshopper after expiringSolution of Object
"Thanks David that has done it!"
Monday
David Rutten replied to Anton Szilasi's discussion Strange behaviour from Grasshopper after expiringSolution of Object
"Yeah the button has problems. Try returning return GH_ObjectResponse.Handled; instead of Capture from the double click handler."
Monday
Anton Szilasi replied to Anton Szilasi's discussion Strange behaviour from Grasshopper after expiringSolution of Object
"David, Thank you for your reply! The code is trigged by a modifed form of the Grasshopper.Kernel.Special.GH_ButtonObject The code is trigged by the line: ownerOfThisAttribute.createDesignSpace(); public override GH_ObjectResponse…"
Monday
David Rutten replied to Anton Szilasi's discussion Strange behaviour from Grasshopper after expiringSolution of Object
"If you're changing more than one object, I wouldn't use ExpireSolution(true), but instead ExpireSolution(false). Then, only after you have expired all the objects in question, should you trigger a new solution on the document. Or, if you…"
Monday
Anton Szilasi posted discussions
Monday
Anton Szilasi replied to Anton Szilasi's discussion Strange behaviour from modifed slider
"Hi Panda, That works but afterwards I get some strange behavior from Grasshopper I cannot pan in the canvas left or right and I cannot disconnect or reconnect wires I can only drop components onto the canvas. "
Monday
Panda replied to Anton Szilasi's discussion Strange behaviour from modifed slider
"try slider.ExpireSolution(true)"
Monday
Anton Szilasi replied to LUIS ARTURO REYES VALENCIA's discussion Error with earth tube component in the group Ladybug Tools
"Mohammed, This is very strange as it works fine on my machine, do you have skype or gchat? I'd like to take a look at what is happening add me: ajszilasi at gmail or antonszilasi skype"
Apr 18

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

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service