Updating model - custom code in files
Moderator: uamodeler
-
- Jr. Member
- Posts: 1
- Joined: 13 Sep 2021, 15:22
Updating model - custom code in files
I use the c++ code generator and when I update a model (Add methods) I have to manual add in my custom code each time. Does anyone have a better way to deal with this?
- Support Team
- Hero Member
- Posts: 3155
- Joined: 18 Mar 2011, 15:09
Re: Updating model - custom code in files
Hi,
editing generated code is never a good idea. For that reason the UaModeler generates multiple files, including an extra one that holds the "implementation". When generating again you will be asked for overwiting or you will need to merge.
Please check examples in SDK but also in UaModeler documentation to get the basic idea when generating files.
editing generated code is never a good idea. For that reason the UaModeler generates multiple files, including an extra one that holds the "implementation". When generating again you will be asked for overwiting or you will need to merge.
Please check examples in SDK but also in UaModeler documentation to get the basic idea when generating files.
Best regards
Unified Automation Support Team
Unified Automation Support Team