Is there an 'OnLoad' Event?

 

Hi there.

Is there any 'OnLoad' (or similar) Event in Axy that fires when an xcomp has started successfully?
(And if yes, how could I access it with e.g. a CopyLogical node?)

I want to use such an Event to trigger certain 'default states' of some controls.

Cheers & all the best.

   EricWest

 
Profile Image
Ahmed@Aximmetry
  -  

Hello Eric,

You should use the Frame Counter for that. The counter would count the number of rendered frames.

After doing some testing, I found that Aximmetry needs a time of 3 frames to start rendering frames. So, if you set the equal module to 3, the output trigger will be true and you can send it to all modules and compounds you want to trigger.

I tested that value with several Unreal scenes and Aximmetry scenes. I used different machines as well and I found that 3 frames are skipped on all of them. So, it should be the case for you aswell. However, in case for some reason, it is not on your setup then play around with it until you find the right one.

Best regards,

 
Profile Image
EricWest
  -  

Hi Ahmed.

Now that's some clever way to do it!
Thanks for the hint!

Although the FrameCounter shouldn't eat too much performance, it certainly consumes a tiny little bit when running for the rest of the day.
So if at some point you guys could introduce events like 'OnLoad', which would fire only once, that would be great.

Cheers & all the best.

Eric.


 
Profile Image
Ahmed@Aximmetry
  -  

Hello Eric,

we will consider adding it in our future releases for sure.

Best regards,