Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

change package properties

ChrisI
2018-11-26
2018-12-13
  • ChrisI - 2018-11-26

    Hey guys,

    is it possible to change the package properties (like Version - see attachment) with python script?

    Because at first i get all library versions and add them (per python). After this I want to write the sum into the version property. But i don't find anything in scriptengine...

    Best regards

    Chris

    IMG: Package_properties.PNG

     
  • Anonymous - 2018-12-07

    Originally created by: KevinR

    The package contains a manifest file "Package.manifest" which holds the information for the whole package.
    The manifest file is in XML format and can be edited.

    So you can open the package with python and edit the manifest file to change the version of the package.

    IMG: manifest.PNG

     
  • ChrisI - 2018-12-13

    KevinR hat geschrieben:
    The package contains a manifest file "Package.manifest" which holds the information for the whole package.
    The manifest file is in XML format and can be edited.
    So you can open the package with python and edit the manifest file to change the version of the package.

    Thanks KevinR!

     

Log in to post a comment.