Any particular reason for using arcpy rather than the AreaCalculator transformer?
Other than that, you can add the following on line 124:
feature.setAttribute('total_xyz', total_xyz)
feature.setAttribute('total_TAL', total_TAL)
I've substituted the red "blob" for xyz above. You'll need to also expose the new attributes in the PythonCaller settings.
Any particular reason for using arcpy rather than the AreaCalculator transformer?
Other than that, you can add the following on line 124:
feature.setAttribute('total_xyz', total_xyz)
feature.setAttribute('total_TAL', total_TAL)
I've substituted the red "blob" for xyz above. You'll need to also expose the new attributes in the PythonCaller settings.
Hi @david_r
Helped a lot. Thank´s
This script is huge, I don't want to change its structure but, I would prefer to use the Area Calculator.
Thank´s