GithubHelp home page GithubHelp logo

mpewsey / pls_swapper Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 3 KB

Script to swap between versions of PLS-CADD.

License: BSD 3-Clause "New" or "Revised" License

Batchfile 100.00%
pls-cadd swapper-scripts transmission-line

pls_swapper's Introduction

PLS SWAPPER

Script to swap between versions of PLS-CADD.

Requirements

This program is a command line script and requires Windows.

Instructions

  1. Before proceeding, make a copy of the PLS_CADD.INI file located at C:\Users\%username%\AppData\Roaming\PLS in the event something goes wrong when running the scripts.

  2. Make a copy of the pls_swapper.cmd script and name the file with the version of PLS-CADD that it will swap to. (The file name itself is arbitrary.)

  3. Right click on the script and select Edit. The script should open in a text editor, such as Notepad.

  4. Change the program version and file paths in the top of the script to those used by the associated version of PLS-CADD, then Save. Make sure not to delete the trailing quotes.

     :: Change the below information for the version needed
     set version=15.00
     set "pls_cadd=c:\program files (x86)\pls\pls_cadd"
     set "pls_pole=c:\program files (x86)\pls\pls_pole"
     set "tower=c:\program files (x86)\pls\tower"
     set "saps=c:\program files (x86)\pls\saps"
     set "caisson=c:\program files (x86)\pls\caisson"
    
  5. Repeat steps 2-4 for each version of PLS-CADD on your machine.

  6. To switch between different versions of PLS-CADD, double click on the associated script before opening the program. Test the functionality of your scripts by running a script, opening each PLS program, and verifying that the correct version folder is displayed under File>Preferences.

Preventing Accidents

PLS-CADD files are not backwards compatible. To prevent unintentionally overwriting an older version file with a newer version, it is recommended that you set the "Prompt for permission before saving projects in new version" preference to Yes.

Caution

Running two different versions of PLS-CADD simultaneously, or running the version swapper scripts when PLS-CADD is already open, could have unexpected consequences and should be avoided.

pls_swapper's People

Contributors

mpewsey avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

madavasy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.