Great, many thanks, v.helpful.

 

I have a couple of follow-up questions.

 

I have now managed to start NetLogo with a UI by doing...

 

(App/main (into-array String []))

 

...this returns nil. What I would like is to gain a reference to the model 
so I can then call methods on it – is this possible?

 

Do you know of any documentation that describes this kind of NetLogo 
interaction?

 

Many thanks.

 

 


On Thursday, 17 December 2015 16:22:05 UTC, Jason Bertsche wrote:
>
> To do that, you want to call the static method `org.nlogo.app.App.main` 
> <https://github.com/NetLogo/NetLogo/blob/5.x/src/main/org/nlogo/app/App.scala#L60>
> .
>
> On 12/17/2015 02:21 AM, s wrote:
>
> I am trying to startup a NetLogo model from Clojure. I can achieve this 
> using "headless workspace" based on the example provided at 
> https://github.com/NetLogo/NetLogo/wiki/Controlling-API but I want to 
> open a model with its UI.
>
>  
>
> Can anyone please?
>
>  
>
> S.
>
>  
> -- 
> You received this message because you are subscribed to the Google Groups 
> "netlogo-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to