I'm new to CityEngine, I started playing around with the python scripting interface. I was wondering if it is possible to use the same python scripting interface and CE functionalities from outside CityEngine, so without starting the application GUI. I would like to just run my scripts automatically from a Unix console, on a computer where I installed CE. Is that possible? Is there any ready-to-use interface for that? My final goal is that of completely automatize the process of downloading GIS info from OSM, creating my 3D city and exporting it, without using the CE GUI.
I don't really have experience with this, it's just something that one of my coworkers set up quite some time ago to check some things. Rather a hack, of course. But yes, you need CE started ( the GUI ). There's no way around this.
You could try the same thing with ArcGIS, using the CityEngine GP tool, would that be an option ? ( basically aggregating the data in ArcGIS and generate the geometries in there )
Ok, of course I don't have any problem about starting CE GUI first. Anyway, if I can just setup a default script to be launched after the CE startup, that would be enough for me. Is there any configuration option like that? Maybe I can use the underlying OSGI framework?
Sticking with CE will be the best option for me right now. In the worst case scenario I can use xdtool to simulate the F9 key event and run the python script.