|
POST
|
Hello Jonas Bromand Fuchs On Windows you need to be careful with "\" in path strings. Always use "\\" to make sure it is interpreted correctly. You can check the path by using "print" To be platform independent, you can use the functionality 10.1. os.path — Common pathname manipulations — Python 2.7.14 documentation provides. Here is a simple example that writes a snapshot to the image folder of the project. views = ce.getObjectsFrom(ce.get3DViews())
if len(views) < 1 : print "no view found"
else :
views[0].frame()
ce.waitForUIIdle()
views[0].snapshot(ce.toFSPath('images')+"\\snapshot.png")
... View more
10-18-2017
02:49 AM
|
0
|
3
|
1705
|
|
POST
|
Yes, this applies to CityEngine scenes. Splitting larger areas into multiple scenes is a common approach. ArcGIS Pro has no such limitation.
... View more
10-16-2017
04:05 AM
|
0
|
0
|
4150
|
|
POST
|
Hello Nicolai Steinø Yes, this is possible with a function layer (reference point is the center). Here is a simple CGA rule that colors buildings by LOD: attr LOD = 0
@StartRule
Lot --> extrude(rand(10,30)) ColorByLOD
ColorByLOD -->
case LOD > 3: color(1,0,0)
case LOD > 2: color(1,1,0)
case LOD > 1: color(0,1,0)
else: color(0,0,1) Make sure the rule attribute LOD is connected to the layer attribute: When you move the camera, call the following python script: from scripting import *
# get a CityEngine instance
ce = CE()
if __name__ == '__main__':
l = ce.getObjectsFrom(ce.scene, ce.isLayer, ce.withName("'LOD"))[0]
CameraPoI = ce.get3DViews()[0].getCameraPoI()
ce.setAttributeLayerExtents(l, [CameraPoI[0],CameraPoI[2],3000,3000])
ce.setLayerAttributes(l, "attr LOD = sin(u * 180) * sin(v * 180) * 4")
sceneShapes = ce.getObjectsFrom(ce.scene, ce.isShape)
ce.generateModels(sceneShapes, False) Then your city should look like this:
... View more
10-10-2017
11:05 AM
|
3
|
3
|
1899
|
|
POST
|
Hello Marek Dekys Thank you for your question. On startup the __name__ variable is set to '__startup__' Please change your script to: from scripting import *
ce = CE()
if __name__ == '__startup__':
print ("hello world from startup")
... View more
10-10-2017
07:39 AM
|
2
|
0
|
840
|
|
POST
|
Update: The dev team fixed another problem that can cause slow startup of CityEngine 2017.0 and earlier. Unfortunately this new fix is not included in the CityEngine 2017.1 Beta build.
... View more
10-09-2017
07:48 AM
|
0
|
0
|
694
|
|
POST
|
Please Note: The fix proposed byDevin Lavigne can affect the licensing other (Esri) Software as well. Re-authorization will be needed.
... View more
10-04-2017
07:30 AM
|
0
|
0
|
3107
|
|
POST
|
There are known cases where slow Startup of CityEngine is related to the license service. The upcoming release of CityEngine 2017.1 contains a fix. You can apply for a Beta version here: Welcome to our Feedback Community Please give feedback if the fix worked.
... View more
10-04-2017
07:29 AM
|
1
|
1
|
694
|
|
POST
|
Thank you for your question. Have you set the correct port and host in the ArcGIS Administrator of the client machine where CityEngine is supposed to run? Please also have a look into the CityEngine install guide: About the License Manager—CityEngine | ArcGIS Desktop
... View more
09-18-2017
08:31 AM
|
0
|
0
|
860
|
|
POST
|
There is a new blog post covering: GIS2VR: From CityEngine via Unity to HTC Vive | ArcGIS Blog
... View more
09-12-2017
06:19 AM
|
0
|
0
|
3391
|
|
POST
|
Unfortunately there is no way to increase the resolution with python - this is a missing feature. I'm aware it is possible in the user interface.
... View more
08-23-2017
10:22 AM
|
0
|
0
|
1198
|
|
IDEA
|
Hello Dave The feature you are requesting has been formulated in a paper called CGA++ Advanced Procedural Modeling of Architecture in section "4.1 Event handling". At this point it is unclear, when it will be implemented. CGA++ Integration Timeframes
... View more
08-16-2017
01:48 AM
|
1
|
0
|
1371
|
|
POST
|
Thank you for the report. Judging by the screenshot, the imported model looks like it has wrong face normals. Faces that should be bright are dark and vice versa. Please try to set the Normals to auto. This computes consistent normals using the model face connectivity and a heuristic that favors the world's up direction.
... View more
08-15-2017
08:57 AM
|
1
|
0
|
1256
|
|
POST
|
Hi Neil, Thank you for your question. CityEngine is a versatile software that supports export to Autodesk data formats: Supported File-Based Data Formats | InfraWorks | Autodesk Knowledge Network Here is a suggestion for each data type: For exporting Graph Segments use AutoCAD DXF refer: CE Help - Exporting Graph Segments For exporting Street Shapes also use AutoCAD DXF refer: CE Help - Exporting Shapes For exporting Street Models generated with e.g. CE Example Complete Streets 2016 you could use Autodesk FBX refer: CE Help - Exporting Models All these exporters can be automated with CityEngine Python CE Help - Python Scripting Category Commands .
... View more
08-15-2017
08:24 AM
|
0
|
0
|
1682
|
|
POST
|
Thank you for your question. Please refer the CityEngine help on Get map data from ArcGIS Online / Portal . In CityEngine 2017.0 there should be no problem importing DEM an satellite imagery from the ESRI basemap services.
... View more
08-15-2017
07:54 AM
|
0
|
1
|
1629
|
|
POST
|
No, unfortunately not. There have been no changes in CityEngine 2017.0
... View more
08-09-2017
02:54 AM
|
0
|
3
|
2733
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-11-2026 02:50 AM | |
| 1 | 10-15-2025 08:03 AM | |
| 1 | 10-16-2025 03:16 AM | |
| 3 | 10-20-2025 06:11 AM | |
| 1 | 04-19-2023 12:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-26-2026
12:07 AM
|