1 of 1 people found this helpful
EventFrameTemplate property is not on AFAnalysisRule but on some of the event frame generation plugins (such as EventFrame and AnalysisSQC) that extend the AFAnalysisRule. Thus, it cannot be accessed directly in the code. However, you can use reflection to access it, such as:
var type = AnalysisRule.GetType(); var property = type.GetProperty("EventFrameTemplate", typeof(AFElementTemplate)); var eventFrameTemplate = property.GetValue(AnalysisRule) as AFElementTemplate;
Please note that the availability of this property is an internal implementation of those plugins and is subject to change any time.
Thanks for the answer. I ended up using the AnalysisRule's ConfigString to get the EventFrame Name stored in EFTNAME. It is a simpler solution for me, I only needed to filter things out based on the name.