Frequently asked question
Note:
CGA stands for Computer Generated Architecture, a scripting language specific to Esri CityEngine and used to generate 3D content. See the link to the 'Basics of Rule-based Modeling' in the Related Information section below.
Code:
approxCurvedSlope = asin (scope.sy / geometry.du(0,unitSpace) )
Street -->
alignScopeToAxes(y)
print ( approxCurvedSlope )
Note:
Please note that this is example code and may not be useful in all situations.
Get help from ArcGIS experts
Download the Esri Support App