Hi Chris,
If you are running a NetLogo 3D model you can just use NetLogo_Console

For example, on my MacOS system in the terminal

cd /Applications/NetLogo 6.4.0
./NetLogo_Console --headless \
  --3D \
  --model "models/3D/Sample Models/GasLab/GasLab Free Gas 3D.nlogo3d" \
  --experiment "100 runs" \
  --table -

You can find more information about using the NetLogo_Console in the 
documentation<https://ccl.northwestern.edu/netlogo/docs/behaviorspace.html#advanced-usage>.

If you need to use the Controlling API let us know.
- Aaron
--
Aaron Brandes, Software Developer
Center for Connected Learning and Computer-Based Modeling


From: [email protected] <[email protected]> on behalf 
of Chris Davis Perumal <[email protected]>
Date: Thursday, April 11, 2024 at 1:38 PM
To: netlogo-devel <[email protected]>
Subject: [netlogo-devel] Controlling API Setup
Hi Team,

We're trying to run our Netlogo 3D model from Java in a headless format as 
specified in the documentation 
https://github.com/NetLogo/NetLogo/wiki/Controlling-API#example-headless<https://urldefense.com/v3/__https:/github.com/NetLogo/NetLogo/wiki/Controlling-API*example-headless__;Iw!!Dq0X2DkFhyF93HkjWTBQKhk!UJ9bSGUyAOs7NXViXSEOWwvx9WLSf8MUCIXw3A4e5HRva6P1KX95lPSDDlVe5tl5oHczpjJhvRFxxPiE0JXofn2L82SFYs0J$>

I used the netlogo-6.4.0.jar files that we found in the "app" folder yet still 
for some reason it was unable to pick up the supporting library files needed to 
run. Is there a different set of jar files that we are supposed to use?

We weren't sure if we were loading it onto the classpath correctly. Any help 
you can give us would be appreciated.

Thanks and Regards,
Chris
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/1da7e1f3-6188-43e7-bcb9-d015c520d5e0n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/netlogo-devel/1da7e1f3-6188-43e7-bcb9-d015c520d5e0n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Dq0X2DkFhyF93HkjWTBQKhk!UJ9bSGUyAOs7NXViXSEOWwvx9WLSf8MUCIXw3A4e5HRva6P1KX95lPSDDlVe5tl5oHczpjJhvRFxxPiE0JXofn2L87uSagIb$>.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/MN2PR05MB6253A2D9F2641D56A6026ABD93052%40MN2PR05MB6253.namprd05.prod.outlook.com.

Reply via email to