Clicking on Events table n Axiom to open a display for the selected event
I'm trying and failing to do this using scripting in Axiom but maybe there's another way to do what I want (I'm running Canary V25.1)?
What I wanted was, within Axiom, to configure it so that when an event was clicked in an event table, it would open a screen showing the affected asset over the time of the event. Something like this pseudocode:
But I find that the eventInstance object contains a constructor but nothing else so I can't access its type, source or start and end times. Likewise the sender object is the events grid but gives no way to find the details of the highlighted event. So I cannot get any of the details I need to pass to my OpenDisplay() function. I'm also assuming that such a function exists or can be written!
Is there any way, with or without scripting, do do what I want?
2 replies
-
If you want to open another asset based screen that contains a TrendGraph, using the Event Table, you can use something like the following code:
-
Thanks, yes, in the end I did something like that. I was somewhat stymied by the fact that the online documentation did not give me all the properties of the PropertyEventInstance object, and that there is no intellisense so I couldn't discover the undocumented features through the editor.
But Canary have helped me out with the PropertyEventInstance class definition so I was able to implement what I wanted.
Content aside

- 3 wk agoMon, June 9, 2025 at 3:30 PM UTCLast active
- 2Replies
- 28Views
-
4
Following