CST - automation with VBA

Hi all, 

I have a question about how to set up my mesh setting with VBA code. So after I create my structure and set everything like boundaries, units etc the last thing I want is to set the mesh. I am using the hexahedral FIT mesh and wanted to be able to change the “cells per wavelength”. I couldn't find a working solution, or I couldn't figure out how to uncheck the “Use same settings as near model” checkbox and then set the “Near to model” and “Far from model” settings.

Can you please let me know if there is a way to do this with VBA code. Thank you very much. 

Best regards, 

Martin 

CST Studio Suite