Attempting to use the field calculator to change the Angle field in a a feature linked annotation class that resides in a file geodatabase. Specifically, I am adding a value to the current value. Error 999999 is thrown.
def calcAngle(old, value):
newAngle = old + float(value)
return newAngle
You need your Expression and its properly format etc
see more examples including code blocks
Calculate Field Python examples—ArcGIS Pro | Documentation
# Expression
calcAngle(!Angle!, value=5.0) # field name in ! ! and value=5
# Code block
def calcAngle(old, value):
newAngle = old + float(value) # although float shouldn't be needed
return newAngle