Barons adding constraints at each iteration

I am using Barons to solve a nlp.
I want to add constraints after every iteration and check for some conditions.
I also want to interact with the solutions obtained at each iteration.
Is there any example or guide implemented already.

Thanks.