Dear cheryl, I have read your tutorial carefully and try to export value from rule to object attribute but it can not. The value report is not exported to console. Warning Thu Apr 19 02:29:34 ICT 2018 The batch export completed but at least one error occurred. See export logfile for detailed error information. - [main] java.lang.Exception: Export script execution failed. at com.esri.prt.export.ScriptModelExportContext$4.run(Unknown Source) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\nguyenq\Documents\City engine\930\scripts\export.py", line 27, in finishModel height = model.getReports()["Height"][0] KeyError: Height at org.python.core.Py.KeyError(Py.java:221) at org.python.core.PyObject.__getitem__(PyObject.java:671) at org.python.pycode._pyx687.finishModel$3(C:\Users\nguyenq\Documents\City engine\930\scripts\export.py:33) at org.python.pycode._pyx687.call_function(C:\Users\nguyenq\Documents\City engine\930\scripts\export.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:166) at org.python.core.PyFunction.__call__(PyFunction.java:368) at org.python.pycode._pyx748.f$0(<string>:1) at org.python.pycode._pyx748.call_function(<string>) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1312) at org.python.core.Py.exec(Py.java:1356) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206) at com.esri.prt.export.ScriptModelExportContext.finishModel(Unknown Source) at com.esri.prt.export.ScriptModelExportContext.finishScriptExport(Unknown Source) at com.esri.prt.export.ScriptModelExportContext.finishScriptExport(Unknown Source) ... 2 more Can you explain to me what error happened here, although I have checked the object already has "Height" via inspector tool. Or can you guide me how to get value from rule-cga (not user defined)
... View more