Grasshopper

algorithmic modeling for Rhino

Hi. We are trying to make a custom component that takes information from a database ans use it to change some sliders and take the value of solar energy with the "Diva" component and stores that value in the database. The problem is that our component stops the execution of the "Diva" component. If you change manually the slider the execution proceeds as normal but when our component change it programmatically the "Diva" component stops in the middle of the execution. We try to disable the solver in grasshopper, change the sliders, and enable the solver and the result is the same, the "Diva" component stops. We attach the custom component ("Evaluador.gha"), the test files of rhino and grasshoper (demo.3dm and demo1.gh).

PD: I send you the code in another post (limited to 3 attached files).

Views: 327

Attachments:

Replies to This Discussion

Here is the source code of the custom component.

The "diva" component id this one:

http://diva4rhino.com

Attachments:

Hmm you are working with threads, I do not know if this is a good idea, because Grasshopper has static global variables.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service