AnsweredAssumed Answered

How to get event frames templates only?

Question asked by Iegor_Sh on Jul 9, 2019
Latest reply on Jul 9, 2019 by rdavin

Hi all,

I am new with PI and maybe my question is easy one... but seems I need a help here.

Problem is that I need to get only event frame templates without element/model templates from a particular database. 

Using code below I get all kind of templates: 


var elementTemplates = new PISystems()["Server"].Databases["Database"].ElementTemplates;
foreach (var template in elementTemplates)


But if I open PI system explorer - it somehow knows and shows separately Element Templates, Event Frame Templates and Model Templates.


So is it possible to do using .net and AF SDK?


Thanks in advance