Hi Juan,
The tools in the Software Development Kit (SDK) provide access to the SAM Simulation Core (SSC) library, not to the SAM user interface.
To automate tasks in the user interface, you can use the LK scripting language in the SAM desktop application. For more about how LK script works, see:
sam.nrel.gov/lk-script.html
You can find examples of LK scripts designed to run from the SAM application here:
github.com/NREL/SAM/tree/develop/samples/LK%20Scripts%20for%20SAM
Best regards,
Paul.