|
POST
|
Please make sure the your user login name is correct. The login from CityEngine is case sensitive, whereas on https://www.arcgis.com/home/signin.html it isn't. You can see your exact user name on ArcGIS online under My Profile.
... View more
04-27-2018
08:38 AM
|
0
|
0
|
985
|
|
POST
|
SHP generally does not support curved segments. However all values needed can be accessed from Python, exported as attributes and reconstructed later on. To define curves, CityEngine uses Cubic Bézier curves. The position of the Points P1 and P2 can be accessed via Python and added as Object Attributes to the segment (Python Scripting - CE.setAttribute). # direction = P_1 / startNode = P_0
directionStart = ce.getCurveHandle( segmentAB, nodeStart )
# direction = P_2 / startNode = P_3
directionEnd = ce.getCurveHandle( segmentAB, nodeEnd ) The intersection type can also be queried with Python: ce.getAttribute(node, '/ce/crossing/type')
... View more
04-27-2018
05:28 AM
|
0
|
0
|
1322
|
|
POST
|
Hi Isaac, could you please check if there is an error in the Log window? The screenshot of the import dialog you posted looks like, the TIF and TFW are not read in. There is no image preview and all values are default. For reference here is how it usually looks like:
... View more
04-27-2018
03:05 AM
|
0
|
0
|
1798
|
|
POST
|
Hello L R The CityEnginge FBX exporter does not support writing attributes. For exporting high quality models and attributes, the CityEngine Alembic ABC Export can be used. If you need to use FBX, there are two options: Export the models as FBX and the shapes with attributes to a SHP file. Export the models as FBX and use the python export to write a text file (e.g. CSV) with the relevant attributes: Tutorial 12: Scripted report export—CityEngine Tutorials | ArcGIS Desktop Later the two exports need to be combined via a unique identifier.
... View more
04-27-2018
02:56 AM
|
0
|
7
|
4073
|
|
POST
|
Thank you for reporting the issue. The CityEngine team has fixed it in the upcoming 2018.0 release. As a workaround for 2017.1, add this line to the CityEngine.ini file: -DsnapshotFsaaLevel=0 On Windows, the file is located in the installation root folder. typically: "C:\Program Files\Esri\CityEngine2017.1\CityEngine.ini" On MacOS it located is inside the application package. First you need to open the application bundle: Applications > CityEnigine > Show package contents Second you browse to the file: Contents > MacOS > CityEngine.ini
... View more
04-25-2018
09:57 AM
|
2
|
0
|
1796
|
|
POST
|
Hi Dulini Ratnayake CE 2017.1 support was just shipped in LumenRT Update 5 (April 15). There is another update scheduled for June (LumenRT Update 6). Support for CE 2018.0 will be added to that release. Thomas F
... View more
04-24-2018
12:49 AM
|
0
|
1
|
1356
|
|
POST
|
Hi Karl The restarting of CityEngine is actually the expected behavior, since workspaces cannot be changed on the fly. After restart the newly defined workspace is used.
... View more
04-23-2018
07:17 AM
|
0
|
0
|
2308
|
|
POST
|
Hi Flo Please follow this steps: Select the terrain in the Scene Editor File > Export Models... > FBX Apply the settings as shown below:
... View more
04-23-2018
07:09 AM
|
0
|
0
|
752
|
|
POST
|
Hi Nate, Thank you for this question. The CGA street rules work on CityEngine dynamic shapes and their attributes. By changing the underlying graph properties, the shapes are automatically regenerated. Here is a Python script to accomplish this task: '''
Created on Apr 23, 2018
@author: ESRI R&D Center Zurich
'''
from scripting import *
# get a CityEngine instance
ce = CE()
def findDeadEnds(nodes):
deadEnds = []
for node in nodes:
if ce.getAttribute(node,'valency') == 1.0:
deadEnds.append(node)
return deadEnds
if __name__ == '__main__':
# get selected nodes
nodes = ce.getObjectsFrom(ce.selection(), ce.isGraphNode)
# get all dead end nodes
deadEnds = findDeadEnds(nodes)
# set all dead ends to 'Roundabout'
ce.setAttribute(deadEnds, '/ce/crossing/type', 'Roundabout')
ce.setAttributeSource(deadEnds, '/ce/crossing/type', 'USER')
pass
... View more
04-23-2018
06:59 AM
|
0
|
0
|
792
|
|
POST
|
Esri provides various raster base map services (including high res imagery) and a world elevation service. They can be used within CityEngine to create a terrain layer from scratch without preparing any data.
... View more
04-23-2018
06:11 AM
|
0
|
0
|
1486
|
|
POST
|
CityEngine 2017.0 does not support export of separate .MAT files. The material information is embedded into the *.FBX file. However it is possible to generate it within Autodesk 3D Studio Max. Please have a look into this Autodesk forum thread: How to save a material as a .MAT file. - Autodesk Community
... View more
04-10-2018
05:34 AM
|
0
|
1
|
1950
|
|
POST
|
Hi Kenneth, thank you for your question. Below is a small example how to use two object attributes to set a layer attribute: attr StreetType = getObjectAttr("type",false)
attr bikeLanes =
case getObjectAttr("bikeLanes",false) > 0 : rint(getObjectAttr("bikeLanes",false))
else : 0
attr streetWidth =
case StreetType == "MAJOR" : 24 + 1.5*bikeLanes
case StreetType == "MINOR" : 13 + 1.5*bikeLanes
case StreetType == "LOCAL" : 5.7 + 1.5*bikeLanes
else : 10 Further information and examples can be found in the CityEngine Help Mapping Object Attributes via Layer Attribute
... View more
04-10-2018
03:16 AM
|
1
|
1
|
919
|
|
POST
|
There is an issue with reporting NaN values to FileGDB. As a workaround, please add a value validation to you CGA code. validate(value) =
case isnan(value): -1
else: value
report("FAR",validate(FAR))
... View more
04-09-2018
04:20 AM
|
0
|
0
|
1743
|
|
POST
|
Code snippets published on Esri GeoNet protected by any license, need to respect the associated usage rights. They must be marked accordingly by the publisher. Any license violations need to be reported to the forum administrator. Generally, CityEngine CGA and Python snippets published by Esri employees, are meant to support our customers in achieving their goals in accordance with the product's software license. For further information please visit Esri Legal Information | Overview In your case distribution of GeoNet snippets under the Apache 2.0 license in a folder called "Esri Scripts" is appropriate.
... View more
04-06-2018
02:23 AM
|
1
|
1
|
2694
|
|
POST
|
Hi Luiz Thank you for your input. I changed the script in my post above to add export support for 360 panoramas from CityEngine View Domes. For View Domes it now creates six 90° x 90° square snapshots (back, down, front, left, right, up). These can be stitched and re-projected from cubemap to equirectangular format with common VR/panorama tools. Here is a link to a free online tool: 360Toolkit - Convert and View Panorama Pictures Instantly
... View more
04-04-2018
07:20 AM
|
4
|
2
|
2694
|
| 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
|