Features From CityEngine Rules (3D Analyst)
Generates 3D geometries from existing 2D and 3D input features using rules authored in Esri CityEngine.
The input Rule Package is a CityEngine rule package (.rpk). It is a compressed file containing a compiled CityEngine rule and associated assets used by that rule.
Detailed errors or warnings raised during conversion are written to a log file named PRT#.txt (where # is a numeral that increases incrementally with each run of the tool). The location of this file depends on your operating system:
- On Windows XP, it is at <Install drive>:\Documents and Settings\<user name>\Application Data\ESRI\GeoProcessing.
- On Windows Vista and Windows 7, it is at <Install drive>:\Users\<user name>\AppData\Local\ESRI\GeoProcessing.
Input polygon, or multipatch features.
The CityEngine rule package *.rpk file containing CGA rule information and assets.
The output feature class containing multipatch features with CGA rules applied.
The following Python window script demonstrates how to use the FeaturesFromCityEngineRules tool in immediate mode:
import arcpy from arcpy import env arcpy.CheckOutExtension("3D") env.workspace = "C:/data" arcpy.FeaturesFromCityEngineRules_3d("in_polygons", "rules.rpk", "out_multipatches")