CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Dec 16, 2018 3:47 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Nov 26, 2018 8:58 am 
Offline

Joined: Wed Sep 12, 2018 2:39 pm
Posts: 6
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... :roll:


Best regards

Chris


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Fri Dec 07, 2018 12:42 pm 
Offline
User avatar

Joined: Tue Jun 28, 2016 2:45 pm
Posts: 55
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.


You do not have the required permissions to view the files attached to this post.

_________________
Building & Process Automation with HVAC Library for CODESYS© - www.hvac-automation.com


Top
   
PostPosted: Thu Dec 13, 2018 10:57 am 
Offline

Joined: Wed Sep 12, 2018 2:39 pm
Posts: 6
KevinR wrote:
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! :D :mrgreen:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited