And this is the result of the code generator. In C++ and C# you can use inheritance – simply use a base class for symbols, autogenerate a HMIButton_base and then create the final HMIButton manually – this is a nice way to allow autogenerated code while you still have the full manual control. C# have an even nicer technique that I used – partial class. I autogenerate a class with all property setting based on a Excel spreadsheet and manually write the part creating the symbols.
Obviously I still have a few bugs:( – … but my code generator works just fine. This will make a significant impact since we talk about hundreds of components with 10 to 30ich properties each and each property account for ca 10 lines of code 🙂