CityEngine 2016 error: No Start Rule Found

275
1
05-04-2021 09:12 PM
Labels (1)
ÓrlaHammond
New Contributor II

I'm trying to run a rule file in CityEngine 2016. When I try to Assign the Rule I get a pop up message saying "No Start Rule found in 'RuleFileName.cga'. Verify the rule file." (Capture 1).

However, I have a @StartRule in my rule file (Capture 2 shows a snippet of the code).

Is there something I'm missing?

0 Kudos
1 Reply
BrianWamsley
Occasional Contributor II

Looks like your start rule is a conditional statement (case/else) but your missing the else part.   

Put "Else:" at the bottom with what you want the default to be.

0 Kudos