Welcome to WEAP's Website WEAP
WEAP is an initiative of the Stockholm Environment Institute.


About WEAP

Home
Why WEAP?
Features
What's New?
Sample Screens
Demonstration
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos (YouTube)

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

LEAP
Interested in Energy?
Read about LEAP: SEI's software for energy planning.

Link WEAP and LEAP for combined Water-Energy planning.
Watch a video demo!
   

User Forum

All Topics | Topic "Deleting a node using Python"
Log in to post new messages or reply to existing messages.
 
Author Message
Mr. Wilco Terink

Subject: Deleting a node using Python   
Posted: 8/16/2018 Viewed: 4259 times
Hi,

Using Python to control the WEAP API I can add nodes automatically. However, it seems deleting a node through Python is not an option? Or is it? If it is possible, what's the python cmd then?
Mr. Jack Sieber

Subject: Re: Deleting a node using Python   
Posted: 8/24/2018 Viewed: 4239 times
The new version of WEAP released yesterday (2018.1) now includes an API method for deleting a branch, and this should work with Python.

In WEAP go to Help, Check for New Version to get the update. If for some reason that doesn't work, go to http://www.weap21.org/Download to download it.

Jack

Mr. Wilco Terink

Subject: Re: Deleting a node using Python   
Posted: 9/3/2018 Viewed: 4224 times
Hi Jack,

Thanks. It works.

Cheers,
Wilco
Topic "Deleting a node using Python"