How to get time-history table for a ACT custom result object?
Ayush Kumar
Member, Moderator, Employee Posts: 442
✭✭✭✭
Answers
-
The
timehistory
Tag inresult
Tag of the XML should be set to "True"Example XML
<result name="result_evaluate_problem" version="1" caption="custom_result" icon="hand" location="node" type="scalar" timehistory="True" contextual="false" > <callbacks> <getvalue>start_evaluation_gv</getvalue> </callbacks> <property name="GeometryDefinition" caption="Geometry Definition" control="scoping" readonly="false"/> </result>
Example Python
from System import Array def start_evaluation_gv(result, nodeid): return Array[float]([nodeid])
2