.. _objects_wtg: WTG Object Service ================== The ObjWtgService is giving access to wind turbine generator objects. To make a new wtg object, you can use the ObjectService. Then getting the properties of the wtg with the ``ObjWtgService.GetWtgObject``. These properties can be manipulated and then send back to windPRO with ``ObjWtgService.SetWtgObject``. Adding a path with a wtg file is enough to do a basic calculation. More advanced manipulation is not possible at the moment. Find below a working example that can be run on the test project New Salem. .. literalinclude:: ../../../python/examples/fromDocs/objects/wtg_object.py