Select to view content in your preferred language

aprx.activeView Syntax Error

1116
3
Jump to solution
11-13-2020 07:14 AM
ChrisHolmes
Frequent Contributor

Hello,

Can anybody see why I'd be getting a syntax error here? Totally stumped?

Thanks

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
EdwinRoa
Esri Contributor

in arcpy.AddMessage is missing  ")" at the end

View solution in original post

3 Replies
EdwinRoa
Esri Contributor

in arcpy.AddMessage is missing  ")" at the end

ChrisHolmes
Frequent Contributor

Thanks. Missing an end bracket. Funny how you can stare and stare and stare at it and it just doesn't pop out!

0 Kudos
RachelGomez
Emerging Contributor

If a syntax error appears, check to make sure that the parentheses are matched up correctly. If one end is missing or lined up incorrectly, then type in the correction and check to make sure that the code can be compiled. Keeping the code as organized as possible also helps.

Regards,

Rachel Gomez

0 Kudos