number of slices in Plaxis LE API

Hello folks! How can I change the number of slices and maximum number of iterations? Can someone give me a example, please. I´ll be grateful.