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

How to render a component a certain color
4 Replies

Dear all,I have written my own custom implementation of the ValueList component. While I can get the component to display balloons when there is an error the color of the component doesn't change to…Continue

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

Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
6 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 Apr 30.

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 Apr 24.

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 Apr 27.

 

Anton Szilasi's Page

Latest Activity

Anton Szilasi replied to Anton Szilasi's discussion How to render a component a certain color
"Thank you David!"
Tuesday
David Rutten replied to Anton Szilasi's discussion How to render a component a certain color
"In your attributes, you must override the AllowMessageBalloon property and return true. This will allow the messaging widget to draw balloons if there are warnings/errors on your component. In order to change the colour of the component to reflect…"
May 10
Anton Szilasi replied to Anton Szilasi's discussion How to render a component a certain color
"Hi Panda, Yes this is what I mean"
May 10
Panda replied to Anton Szilasi's discussion How to render a component a certain color
"Do you mean that the color changes like the param Font which turns yellow when warning,red when error?"
May 9
Anton Szilasi posted a discussion

How to render a component a certain color

Dear all,I have written my own custom implementation of the ValueList component. While I can get the component to display balloons when there is an error the color of the component doesn't change to match that of the ballons e.g red for error, yellow for warning.How can I render the component so that it is either yellow or red?Many thanks!See More
May 9
David Rutten replied to Anton Szilasi's discussion Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
"You must override the Write and Read methods on your component and include those values in the archive."
Apr 30
Anton Szilasi replied to Anton Szilasi's discussion Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
"David I also realized that other data custom fields such as this is not being stored on deserialization and serialization."
Apr 29
Anton Szilasi replied to Anton Szilasi's discussion Saving and Opening Grasshopper files with custom code - Object Reference not set to instance of Object!
"Thanks for your reply David this is certainly helpful. However I am still stumped on one issue, in the code that I write in the BeforeSolution method I need the a checklist to know that it is "linked" to the other when it is deserialized.…"
Apr 29
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."
Apr 28
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…"
Apr 28
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."
Apr 28
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."
Apr 28
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
Apr 28
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."
Apr 27
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"
Apr 27
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
Apr 27

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