doc.arcgis.com/en/cityengine/2025.0/python/align-terrain-settings.htm
Preview meta tags from the doc.arcgis.com website.
Linked Hostnames
1General Meta Tags
17- titleAlignTerrainSettings—ArcGIS CityEngine Resources | Documentation
- charsetutf-8
- X-UA-CompatibleIE=edge,chrome=1
- viewportwidth=device-width, user-scalable=no
- descriptionAlignTerrainSettings The settings for the alignTerrain command. @example: # The settings giving additional control over the behaviour of alignTerrain atSettings = AlignTerrainSettings() atSettings.setLowerTerrain(True) atSettings.setRaiseTerrain(True) atSettings.setMaxRaiseDist(1000) atSettings.setMaxLowerDist(1000) atSettings.setBorder(True) #Write cut/fill volumes to attributes atSettings.setWriteCutFill(True) # If no layers are selected, it applies to all terrain layers. Here we select a layer heightmap = ce.getObjectsFrom(ce.scene, ce.isMapLayer, ce.withName('Heightmap'))[0] atSettings.setTerrainLayer(heightmap) layer = ce.getObjectsFrom(ce.scene, ce.isLayer, ce.withName("'Streetnetwork'" ))[0] ce.alignTerrain( ce.getObjectsFrom(layer, ce.isShape ), atSettings ) Methods defined here: getBordergetBorder(self): Gets Border field. If enabled, a small border region around the shapes is aligned, too. @return: Value of Border field. [True/False] getBorderEasinggetBorderEasing(self): Gets BorderEasing field. If enabled, terrain smoothing is applied with nonlinear easing. @return: Value of BorderEasing field. [True/False] getBorderGradientgetBorderGradient(self): Gets BorderGradient field. Defines the angle of the slope in degrees
Link Tags
8- shortcut icon/assets/img/favicon.ico
- stylesheet/assets/css/screen.css
- stylesheet/cdn/calcite/css/documentation.css
- stylesheet/assets/css/print.css
- stylesheet/cdn/css/colorbox.css