[Closed] Get PFlow Events
Hi,
is it possible to get all events of an existing Particle Flow?
Something like myPFlow.getAllEvents() or something?
Events are named like their parent Source followed by an arrow like this “->” and the Event name. For example “myPFlow->Event001”. I managed to get all events with a for loop that adds all objects to an array if its name starts with “myPFlow->” like this:
for i in $'PFSource001->*' do (
append test i
)
print test
However I want to write a tool with which the user can pick his Particle Flow source and then see all the events of this particular Source in a list.
The trouble I am running into when using the for loop method is that I get the source node and store it´s name in a variable as a string. But I don´t know how it is possible to then use the string in this variable to use in the for loop in combination with the “*” wildcard.
Is that possible at all? Or ist there a better way to get the events?