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 Tue Feb 18, 2020 9:13 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Nov 29, 2019 8:00 am 
Offline

Joined: Tue Jun 18, 2019 1:37 am
Posts: 2
Hello

I'm currently using CodeSys SVN with the purchased license, and I'm trying to make python script for it on script engine.
Can I know how to disconnect project from svn in the script? I counldn't find any info of it..

Either svn.method() way or system.commands[].execute() way doesn't bother me.

Thank you
Best regards,
Junho


Top
   
PostPosted: Fri Dec 06, 2019 9:10 am 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 262
Hi Junho.

Here some code to how to disconnect an versioned project:
Code:
proj = projects.primary

if proj.svn.is_versioned:
    proj.svn.disconnect()

BR
Martin

_________________
Check out the CODESYS store: http://store.codesys.com/

CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


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