Siemens TIA Portal Code Generator via Openness Interface
Based on the description found here:
This version is based on TIA V16.
With some small changes this will also work with 14SP1,15 or 15.1 (work ongoing)
Functions added:
-open TIA with interface (first instance or new instance)
-open project file via file dialog
-show folder structure software
-show data types
-close project
-add / change language for editing
-import a FC
-import a data type
Screenshot:

Some code for the Graph generation is "reversed engineered" since there is no description.