|
POST
|
Thank you for your question. You could use the density map as an obstacle map and iterate: First create an Obstacle map with a high Obstacle Threshold value and run Grow Streets with your high density street pattern settings. Next lower the Obstacle Threshold value of the Obstacle map and run Grow Streets with your medium density street pattern settings. And so on...
... View more
12-04-2018
09:09 AM
|
0
|
1
|
1084
|
|
POST
|
Please have a look into: https://community.esri.com/people/CWilkins-esristaff/blog/2014/10/20/cga-rule-3dtext
... View more
12-04-2018
08:18 AM
|
0
|
1
|
795
|
|
POST
|
There is no direct way to import OSM point features. But you can convert the OSM tree layer to SHP and import the points to CityEngine. OSM to SHP Converter Online - MyGeodata Cloud
... View more
10-19-2018
09:16 AM
|
0
|
0
|
563
|
|
POST
|
Thank you for reporting this issue. The CE team will look into it. As a workaround please use this Python script to mirror the imported shape coordinates: from scripting import *
# get a CityEngine instance
ce = CE()
# axisIndex: [0,1,2] = [x,y,z]
def mirrorShape(shapes,axisIndex):
for i in xrange(0,len(shapes)):
vertices = ce.getVertices(shapes[i])
for j in xrange(axisIndex,len(vertices),3):
vertices[j] *= -1
ce.setVertices(shapes[i], vertices)
if (i%100==0) | (i==len(shapes)-1):
status = r"progress %3.1f%%" % ((i+1) * 100. / len(shapes))
print(status)
if __name__ == '__main__':
shapes = ce.getObjectsFrom(ce.selection(),ce.isShape)
mirrorShape(shapes,0)
pass
... View more
10-19-2018
08:46 AM
|
0
|
0
|
1088
|
|
POST
|
Yes. There is a cleanup graph command in Python: Python Scripting Command Reference: CE.cleanupGraph - CleanupGraphSettings @example:
# Settings class used to control parameters for cleanupGraph operation
cleanupSettings = CleanupGraphSettings()
cleanupSettings.setIntersectSegments(True)
cleanupSettings.setMergeNodes(True)
cleanupSettings.setMergingDist(10)
cleanupSettings.setSnapNodesToSegments(True)
cleanupSettings.setSnappingDist(10)
cleanupSettings.setResolveConflictShapes(True)
graphlayer = ce.getObjectsFrom(ce.scene, ce.isGraphLayer)
ce.cleanupGraph(graphlayer, cleanupSettings) It works the same way as in the GUI.
... View more
10-03-2018
09:25 AM
|
1
|
0
|
776
|
|
POST
|
Thank you for your question. The answer is, that the position needs to be subtracted to move the objects to the center. position = ce.getPosition(toExport)
settings.setGlobalOffset([-position[0],-position[1],-position[2]])
... View more
10-03-2018
09:19 AM
|
3
|
1
|
1540
|
|
POST
|
You are right in the CGA Language there are Shape Attributes. These Shape Attributes are properties of current shape the rule is applied on. The are completely unrelated to the CGA Attributes attr id = expression that can be connected to Object Attributes, Shape Parameters and Layer Attributes (see above)
... View more
09-28-2018
09:31 AM
|
0
|
1
|
4382
|
|
POST
|
There are Object Attributes and Shape Parameters, there are no Shape Attributes. Shape parameters define the dynamic shape generated by CityEngine. Please read the CE help on Creation of Shapes from Graph Networks . Also Note: Shape Parameters can also be connected to Object Attributes.
... View more
09-20-2018
03:27 AM
|
2
|
4
|
4382
|
|
POST
|
Thank you for your question. Objects is generic term that comprises (Shapes, Models, Graphs, Terrains, Viewsheds ...) Some of these Objects like Shapes or Graphs can have Object Attributes. I hope this clarifies the semantic.
... View more
09-17-2018
07:53 AM
|
2
|
6
|
4382
|
|
POST
|
No apparently not. I'd like to analyze your scene and cga rules. I've sent you a private message.
... View more
09-12-2018
07:03 AM
|
2
|
0
|
2255
|
|
POST
|
Hello Chistoph In your code you used "color" as a rule name. Additionally it is also a CGA operation http://desktopdev.arcgis.com/en/cityengine/latest/cga/cga-color.htm I advise you to rename the rule to "setColor" and do not hand over the attribute "Nutzungsart". This should do the trick: version "2018.1"
// Attributes
attr VPKOTE = 0
attr Radius = 0
attr Form = ("Pipe")
attr Nutzungsart = 0
// Functions
red = "#ffaaaa"
green = "#00ae00"
blue = "#aaaaff"
turquoise = "#ooebeb"
white = "#ffffff"
yellow = "#ffff73"
grey = "#9c9c9c"
// Start !
@StartRule
LOT -->
extrude(world.y, VPKOTE)
extrude(Radius)
setColor
setColor -->
case Nutzungsart == 1 : color(red)
case Nutzungsart == 2 : color(green)
else : color (yellow)
PipeAsset =
case Form == "Pipe" :
"assets/pipe.obj"
else: "assets/pipe.obj" mfG Thomas F
... View more
09-12-2018
06:24 AM
|
1
|
1
|
1584
|
|
POST
|
Hi Carla and Abele, can you please confirm, this happens with CityEngine 2018.0? It includes a bugfix, that deals with a crash that matches your description. Thank you Thomas F
... View more
09-12-2018
02:40 AM
|
2
|
3
|
2255
|
|
BLOG
|
3D content generation can easily become unmanageable when processing tasks are reaching country scale. To bypass the capacity limitations of working in a semiautomatic process, Esri CityEngine now supports full automation via its Python API. Predefined jobs such as importing, analyzing, cleaning up your source data and assigning procedural rules for exporting 3D models can be conveniently run from the system command line. To reach this goal, the CityEngine team worked closely with developers in the entertainment, 3D visualization and mapping industries to successfully integrate CityEngine technology into their automated content production processes. This fully automated process is open to all users with CityEngine 2018.0 and later. Tutorial 10 Python Scripting includes an example of automatically modeling KML buildings from building footprints.
... View more
08-21-2018
04:11 AM
|
2
|
2
|
1827
|
|
POST
|
Hello Haval Thank you for your question. The problem is, that in the imported shape has inverted face normals. In the WebScene the backfaces are culled. To fix this problem, select the shapes and run the "Menu > Shapes > Cleanup Shapes..." tool with the setting "Conform Normals" enabled. If there are still some faces in the wrong direction, select them and do "Menu > Shapes > Reverse Normals"
... View more
07-27-2018
06:33 AM
|
1
|
1
|
1801
|
|
POST
|
Hi Ryan, Thank you for sharing your thoughts. The CityEngine team is committed to support all 3 desktop operating systems to provide solutions for our diverse user community. There are no plans to drop support for macOS.
... View more
07-24-2018
02:48 AM
|
0
|
0
|
929
|
| 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
|