Unexpected token

493
1
06-19-2020 04:13 PM
JacobHoffmann
New Contributor

Hello,

I need help, which is why I want to hear if any of you can help me. I use CityEngine and it tells me that there is an Unexpected Token, but I don't know how to fix the problem. The problem is "A" under @Startrule.

My Script is the following:

0 Kudos
1 Reply
CherylLau
Esri Regular Contributor

The problem is that there is a mismatching number of curly braces on the previous line.  Maybe get rid of the middle one.  Tip:  Formatting the split code so that each section is on a different line could help you figure out these kinds of mistakes.  The split doesn't need to be written all on one line.

0 Kudos