Is This Content Helpful?
We're glad to know this article was helpful.
When applying a rule package (.rpk) to multipatch data in ArcGIS Pro, the following error is returned:
Invalid Geometry Feature class geometry (MultiPatch) doesn't match rule package's input geometry (Polygon).
This issue occurs because the rule annotated with @StartRule inside the CityEngine .cga file does not annotate the @InMesh feature type for a rule package intended for multipatch features. If the input feature type is not specified, by default, the expected input feature is a polygon instead of a multipatch feature.
This type of error may occur whenever the input feature type does not match with the feature type specified. Ensure that input feature type the rule package is expecting is specified:
Add the @InMesh feature type to the same line that @StartRule is located in the .cga rule file within the rule package.