Automate slider or gene pool


#1

Hello to all
I need to automate an slider or a gene pool,
similar as Galapagos does it or others plugins.

where should I start?
thanks in advance
Carlos.


(David Rutten) #2

What programming language are you working in?


#3

C# - Visual Studio
thanks


(David Rutten) #4

Do you want to create a UI for this as well, or is it just a bit of code that gets triggered, runs and then silently completes?


#5

UI as well.
similar as Galapagos
thanks


(David Rutten) #6

Will take me a while to come up with an example.


(David Rutten) #7

See attached cs class. Hope it can get you started.

Gripoff.cs (4.7 KB)

My test file for this:
solvertest.gh (16.2 KB)


#8

Very useful for getting started. Thanks2

// Rolf


#9

thank you very much!
yes for shure!.


(Thomas Wortmann) #10

You might also want to check out FrOG (Framework for Optimization in Grasshopper), on GitHub:

It’s an open-source optimization tool for Grasshopper, and works with sliders and genepools.
Grasshopper_InOut has all the code related to that.


#11

thank you, @ParamDesSing
I will have a look.
best
carlos.