author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Tue, 20 Aug 2024 00:23:45 +0200 | |
changeset 3969 | 22870ae8d8e1 |
parent 3968 | d2aecbb377ae |
child 3970 | d73a477237ef |
--- a/ProjectController.py Tue Aug 20 00:20:59 2024 +0200 +++ b/ProjectController.py Tue Aug 20 00:23:45 2024 +0200 @@ -508,6 +508,9 @@ self._setBuildPath(BuildPath) # get confnodes bloclist (is that usefull at project creation?) self.RefreshConfNodesBlockLists() + # default scaling + for iec_lang in ["FBD", "LD", "SFC"]: + PLCControler.SetProjectProperties(self, properties={"scaling": {iec_lang: (8, 8)}}) # this will create files base XML files self.SaveProject() return None