Find the event

All topics on coding 4Dscript in Enterprise Dynamics.
Post Reply
Chiara
Posts: 30
Joined: Thursday 20 September, 2012 - 09:40

Find the event

Post by Chiara »

Hello,

there's any function that tells me how many times an event is called and by who?

I mean, there's a function that given the eventcode and the atom, it tells me every time that there is the string "createvent(x,atom,eventcode)" in the main entity?

Thank you,

Chiara
User avatar
HarryBunnik
Posts: 362
Joined: Monday 07 February, 2011 - 11:22

Re: Find the event

Post by HarryBunnik »

Ha Chiara,

The only option is (in the moment) to use ListEvents. With parameter e1 and e2 you can define the start- and end time of the interval you're interested in. This will result in a list of all events of all atoms. There is no option to do this from only one specific atom. And also not to see where the call came from.

The list of events will be shown in the Trace window.

Cheers,

Harry
Post Reply